I called HTTP web service on Arduino Uno, now i am trying to store the data in SD card. But as soon as i compile the program, it shows LOW MEMORY error and no data stored in SD card. Any one can help?
-
Use a board with more memory. Both those operations use a lot of RAM for buffers.– MajenkoCommented Aug 10, 2016 at 9:22
-
Please suggest the board.– Saud KhalidCommented Aug 10, 2016 at 10:02
-
How do you copy the data? It's very unlikely that your UNO can copy all the data at once.– aaaCommented Aug 11, 2016 at 9:45
Add a comment
|
2 Answers
Try to use properly kind of variables for example if u r using Int in a value can would use byte of try to put some serial.println(F("wherever you can print ")) for running on sram instead of stack memory.
-
Tried to put serial.println(F(" ")) but still same problem. Commented Aug 11, 2016 at 5:38
-
If it still gives the same problem, why is this answer accepted?– aaaCommented Aug 11, 2016 at 10:06