Get Help
Sparki Memory Management
Sparki only has so much memory, 2500 bytes (2.5Kb) of RAM (working memory) and 32,000 bytes (32Kb) of flash (storage) to be exact. Sometimes you’ll want to use more memory than Sparki has with its default programming. You can use put these lines of code at the top of the Sparki.h fileto free up ram and flash:Due to the way the precompiler works, these lines don’t work if you put them into your arduino code, they have to be put into Sparki.h. You can find this file:

C:\Program Files (x86)\SparkiDuino\hardware\arduino\avr\cores\arduino

inside the application (right click>Show Package Contents) >Contents\Java\hardware\arduino\avr\cores\arduino