2 Commits 248336d61e ... d040adb597

Author SHA1 Message Date
  subDesTagesMitExtraKaese d040adb597 updated video url 3 years ago
  subDesTagesMitExtraKaese fe39407800 ISR0 bugfix 3 years ago
3 changed files with 3 additions and 3 deletions
  1. 2 2
      README.md
  2. 1 1
      arduino/src/ultrasonic.cpp
  3. BIN
      images/screenrecord.mp4

File diff suppressed because it is too large
+ 2 - 2
README.md


+ 1 - 1
arduino/src/ultrasonic.cpp

@@ -3,7 +3,7 @@
 struct usData_t usData[2];
 
 void us_0_isr() {
-  if(digitalRead(US_RX_0_PIN) && usData[1].state == rxPending) {
+  if(digitalRead(US_RX_0_PIN) && usData[0].state == rxPending) {
     usData[0].pulseStart = TCNT1;
     usData[0].state = counting;
   } else if(usData[0].state == counting) {

BIN
images/screenrecord.mp4