Sul reference c'è scritto:
On the Leonardo, if (Serial) indicates wether or not the USB CDC serial connection is open. For all other instances, including if (Serial1) on the Leonardo, this will always returns true.
Traduco per quelli che hanno problemi con l'inglese:
Sulla Leonardo if(serial) indica se una connessione seriale USB CDC è aperta o no.
Per tutti gli altri casi, incluso if(serial1) sulla Leonardo, viene restituito sempre true.
Ritengo che questo chiude definitivamente il discorso ![]()
Tra parentesi sul reference c'è pure errore ortografico, wether (montone) al posto di whether (se) ![]()