Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamsieger napisał:
Dla pełności tematu. Jak skorzystać z PCINT? Szukałem w manualu i jakieś przykłady w sieci ale nie znalazłem nic czytelnego.
sieger napisał:Aktualnie program wygląda następująco:
Kod: textZaloguj się, aby zobaczyć kod
Nie rozumem dla czego sygnał wyjściowy nie wraca do zera po 2.5ms od włączenia.
Pozdrawiam
Cytat:10.2.2 Toggling the Pin
Writing a logic one to PINxn toggles the value of PORTxn, independent on the value of DDRxn.
Note that the SBI instruction can be used to toggle one single bit in a port.
Cytat:Action
Sets the port or a port pin to the right data direction.
Syntax
CONFIG PORTx = state
CONFIG PINx.y = state