Go Down

Topic: 2 Arduinos on a single 1Wire microlan? (Read 946 times) previous topic - next topic

wildbill

You have a large amount of text in your various prints and displays. They take up space in SRAM. Move them to progmem using the F() macro. That should take care of the problem.

gg123

Thanks - is there a recommended starting point for learning about progmem and the F() macro for this application?

robtillaart


- http://arduino.cc/en/Reference/PROGMEM -

I would give the SD-datafile the name YYYYMMDD.txt (e.g.20121221) so you do not need to write it in every entry of your log.

A quick glimpse of the code shows that you do a read of the temp sensors in an if statement and later you do a read to write in the datafile. This can result in minor differences.

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

gg123


Go Up