2 Commits 248336d61e ... d040adb597

Autore SHA1 Messaggio Data
  subDesTagesMitExtraKaese d040adb597 updated video url 3 anni fa
  subDesTagesMitExtraKaese fe39407800 ISR0 bugfix 3 anni fa
3 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  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