kaeverens / waterbot

a robot for watering plants
The Unlicense
0 stars 0 forks source link

use JSON serialisation in bot messages #29

Open kaeverens opened 3 years ago

kaeverens commented 3 years ago

instead of the current messaging where strings are delimited and need to be tightly formatted, just use json. it's easy to extend and more forgiving of mistakes.

kaeverens commented 3 years ago

this is harder than it seems. ArduiniJson appears to be the only library that people use, but I think that using it is bringing me over the 14336 bytes of program memory that my Arduino is allowing me

kaeverens commented 3 years ago

ok - can't use JSON. too much memory usage for a tiny machine.