Search found 4 matches

by wertert
Sat Jul 02, 2016 12:05 pm
Forum: micro:bit boards
Topic: bbc micro:bit memory problem
Replies: 11
Views: 18479

Re: bbc micro:bit memory problem

Hi pythoncoder I'll certainly have a look at that. I like looking at new things. Thanks for the guidance. Just to be clear it's not a problem with the program consuming too much memory once it's running. I can easily create 20 objects in a standard list. I only need 3 or 4 !. My problem is with the ...
by wertert
Fri Jul 01, 2016 10:45 am
Forum: micro:bit boards
Topic: bbc micro:bit memory problem
Replies: 11
Views: 18479

Re: bbc micro:bit memory problem

Hi Deshipu and all. Thanks for offering to review my code. Below is the non working version. Simply remove the function called TakeUpSpace() to get it running. In fact you can just remove 4 conditions from the function n[2]=5/6/7/8. Couple of notes; The first version of this was written using python...
by wertert
Thu Jun 30, 2016 4:33 pm
Forum: micro:bit boards
Topic: bbc micro:bit memory problem
Replies: 11
Views: 18479

Re: bbc micro:bit memory problem

I definitely have the first problem. There seems to be a limit to the size of code you can run. It seems to copy over fine but doesn't actually run anything. Failed straight away. Removing just 8 lines from the code means that it will work. I have even tried to modularise the code over 2 files and t...
by wertert
Thu Jun 30, 2016 9:28 am
Forum: micro:bit boards
Topic: bbc micro:bit memory problem
Replies: 11
Views: 18479

bbc micro:bit memory problem

My Daughter was lucky enough to be lent a bbc microbit by her school and I am helping her write a micropython problem using the mu editor. We’re hitting a problem with a small 100 line python program; Trying to run it results in this message. Doesn't even start running. MemoryError: memory allocatio...