50
edits
Changes
Jump to navigation
Jump to search
→Code Samples
static volatile uint16_t btnHistory = 0xFFFF;
btnHistory = (btnHistory << 1) | bitRead(PIND, PIND2);
//anything?
</pre>