danidiscus:
ancora una volta mi stupisce la tua reattività nel creare e rispondere alle mie domande,
ho caricato il code, mi da un errore credo sia una parentesi, ti allego:if (now.second==0 && !fadeUp) {
sketch_dec29k.ino: In function 'void loop()':
sketch_dec29k:68: error: invalid use of member (did you forget the '&' ?)
sketch_dec29k:72: error: invalid use of member (did you forget the '&' ?)
sketch_dec29k:118: error: expected)' before '{' token sketch_dec29k:161: error: expected statement at end of input sketch_dec29k:161: error: expected
}' at end of input
Correggi now.second
con
now.second()
Poi qui
long ciccio = millis();
if ((richiestaTemperatura == 1)
{
if (ciccio-oldMillis > 750) {
c'è una parentesi aperta di troppo dopo l'if.
Ma che libreria RTC stai usando?
EDIT: Trovata--> http://www.futurashop.it/download/RTClib.zip