We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20d4759 commit 2dab966Copy full SHA for 2dab966
controller-nano/controller-nano.ino
@@ -42,7 +42,7 @@ ISR( PCINT0_vect ) {
42
43
// find changing pins
44
for( uint8_t index = 0; index < 4; index += 1) {
45
- uint8_t mask = B00000010 << index;
+ uint8_t mask = B00000010 << index; // Start at PCINT1
46
if( port_rise & mask ) {
47
initial_time[index] = current_time;
48
} else if ( port_fall & mask ) {
0 commit comments