Arduino ethernet/sensore di umidità/ventola 12v

Alessandro_Santo:
Purtroppo mi ero accorto di questo errore subito dopo aver pubblicato il post... =(
e mi da sempre errore...questa volta scrive:

C:\Documents and Settings\Santo_ale\Desktop\arduino-1.0\libraries\Ports\Ports.cpp: In static member function 'static void Sleepy::powerDown()':
C:\Documents and Settings\Santo_ale\Desktop\arduino-1.0\libraries\Ports\Ports.cpp:615: error: 'PRR0' was not declared in this scope

:astonished:

L'errore indicato ti informa che nel file Ports.cpp è utilizzato PRR0 e che questo simbolo non è dichiarato. PRR0 (Power Reduction Register 0, ma esiste anche PRR1) è un registro che riguarda l'atmega2560 (Arduino Mega) e non atmega328p che ha solo il registro PRR.
Puoi provare a modificare if file Ports.cpp sostituendo PRR0 con PRR ma potrebbero esserci altre magagne.

Ciao
QP