Double for loop breaks program
-
- Posts: 4
- Joined: Fri Jul 17, 2020 6:10 am
Double for loop breaks program
I am trying to create a list using a double for loop, when I run it by itself it works fine, but when I run it with the rest of my code, nothing happens and the REPL in mu editor stops working. When I take the double for loop out and paste the whole list in it also works fine, so the rest of my code is fine. Anyone experienced something like this before?
Re: Double for loop breaks program
Probably the code or RAM usage got too large for that little micro.
-
- Posts: 4
- Joined: Fri Jul 17, 2020 6:10 am
Re: Double for loop breaks program
Hmm yeah that's what I thought but wouldn't it display a memory error if that was the case? Nothing shows up on the display.
Re: Double for loop breaks program
Showing an exception message requires. RAM too. Unless you have reserved some space for that, the device can silently freeze.