Page 1 of 1
Double for loop breaks program
Posted: Fri Aug 07, 2020 9:33 am
by joshuachu3
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
Posted: Fri Aug 07, 2020 10:00 am
by Roberthh
Probably the code or RAM usage got too large for that little micro.
Re: Double for loop breaks program
Posted: Fri Aug 07, 2020 11:35 am
by joshuachu3
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
Posted: Fri Aug 07, 2020 11:49 am
by Roberthh
Showing an exception message requires. RAM too. Unless you have reserved some space for that, the device can silently freeze.