hey guys!! so i've been trying to get this to work on an Arduino Uno but with no luck. Tried everything and searched through the forum and can't seem to find anything.
does the Arduino Uno have enough memory to run this thing? because when I try to upload to the Uno i keep getting this error:
Sketch uses 5,312 bytes (16%) of program storage space. Maximum is 32,256 bytes.
Global variables use 4,391 bytes (214%) of dynamic memory, leaving -2,343 bytes for local variables. Maximum is 2,048 bytes.
processing.app.debug.RunnerException: Not enough memory; see
http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing your footprint.
at cc.arduino.Compiler.size(Compiler.java:319)
at cc.arduino.Compiler.build(Compiler.java:156)
at processing.app.Sketch.build(Sketch.java:1111)
at processing.app.Sketch.build(Sketch.java:1081)
at processing.app.Editor$BuildHandler.run(Editor.java:1962)
at java.lang.Thread.run(Thread.java:745)
Not enough memory; see
http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing your footprint.
the only way i can successfully load the script is when i change the "char dataFrame[4086] to a smaller number in the code below:
// MadLED protocol buffer
char dataFrame[4086];
int readingFrameOnLine = -1;
bool gotNewDataFrame = false;
for example "char dataFrame[1400];" lets me load the script in, and then the LED test line works, but once i load up mad mapper , i can see all the outputs and the arduino, i make the fixtures, and then animate - at which point i can see the Uno receiving data and blinking but the LED strip does not show the animations. I'm using about a meter plus long WS2812 and it lights up fine in the test section of the code. I'm assuming changing that char dataFrame line is messing this up.
I'm jumping to the conclusion that the Uno just can't run this, but it seems i have seen people on youtube able to pull it off so not sure. Hoping you guys can help. Going to be utilizing this in a cool stage / art installation. If the Uno is a no-go then i'll grab the Teensy 3.2 but wanted to give it 1 last shot.
Thanks in advance,
-Mysto