Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
change interrupt from falling to rising edge because of change to Theremino Geiger adapter
  • Loading branch information
mkgeiger authored Jan 31, 2021
1 parent 1492853 commit d538b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GeigerCounter/GeigerCounter.ino
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ void setup(void)

// GMpulse (interrupt, D7 = GPIO13)
pinMode(D7, INPUT);
attachInterrupt(digitalPinToInterrupt(D7), GMpulse, FALLING);
attachInterrupt(digitalPinToInterrupt(D7), GMpulse, RISING);

// cyclic measurement funtion (every 1 second)
hw_timer_init(FRC1_SOURCE, 1);
Expand Down

0 comments on commit d538b04

Please sign in to comment.