Dependencies:   mbed C12832

Files at this revision

API Documentation at this revision

Comitter:
ciaranom
Date:
Thu Jul 30 10:18:27 2020 +0000
Parent:
2:af2bebc7b6c0
Commit message:
Added printf above flash

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r af2bebc7b6c0 -r 8409cacb0beb main.cpp
--- a/main.cpp	Thu Jul 30 10:16:13 2020 +0000
+++ b/main.cpp	Thu Jul 30 10:18:27 2020 +0000
@@ -49,7 +49,8 @@
  reset();;  //resets x to 0
  }
  
-
+lcd.locate(0,0);
+lcd.printf("DB %.2f", debounce.read())
  flash = !flash; // turns LED4 on if off, off if on
  wait(0.25); // the instruction to wait for a quarter-second
  }