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.Majenko– Majenko2016-08-10 09:22:43 +00:00Commented Aug 10, 2016 at 9:22
-
Please suggest the board.Saud Khalid– Saud Khalid2016-08-10 10:02:02 +00:00Commented 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.aaa– aaa2016-08-11 09:45:01 +00:00Commented 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.Saud Khalid– Saud Khalid2016-08-11 05:38:20 +00:00Commented Aug 11, 2016 at 5:38
-
If it still gives the same problem, why is this answer accepted?aaa– aaa2016-08-11 10:06:04 +00:00Commented Aug 11, 2016 at 10:06