ottengo che digitalRead funziona correttamente e ritorna lo stato del pin 30 ( PORTC bit 7)
facendo le letture diterramente sul registro PORTC non leggo alcuna variazione.
devo utilizzare questo metodo per leggere contemporaneamente tutti gli 8 bit della porta senza l'overhead della digitalRead.
qualcuno sa perchè questo comportamento.
Grazie
PORTC per l'output, PINC per l'input
"PINB is the input register variable It will read all of the digital input pins at the same time"
"PORTB is the register for the state of the outputs"