- a water meter with a reed relay that emits one pulse every 10 liters
- an ESP8266 card programmed to record the clicks and send an email every m3 of water
- realized the sketch that feels the impulse and increases the counters, transferred to the ESP8266 (attached file contalitri_1.ino): it works
- realized the sketch that sends the email, transferred to the ESP8266 (attached file invioEmail_1.ino): it works, I receive the email
- put together the two codes in a single sketch (attached file contalitri_e_mail_1.ino): I can’t get past the sketch compilation phase and I don’t understand what the error is.
Can someone help me?
contalitri_1.ino (1.27 KB)
invioEmail_1.ino (3.51 KB)
contalitri_e_mail_1.ino (4.72 KB)