I started to ‘fiddle’ with my Opensprinkler by adding two new web queries and also modified the lcd_display_time procedure to ‘flash’ the ‘:’ character every second. Everything works as designed but as soon as I add a third web query page then my unit hangs after a few seconds. Removing my third web query restores everything to normal. Just for interest, I can remove any of the three queries so it’s not a code issue (I think). Here is an example of one of the queries, the other two are exactly the same except to the returned variable:
boolean print_webpage_rain_sensor (char *p)
{
bfill.emit_p(PSTR("0$D"), svc.status.rain_sensed);
return true;
}
My compiled code size, when working, is 32626 bytes and when not working is 32706. Am I running out of memory?
Ingo