A device supporting students learning to type braille

Dependencies:   Servo mbed

Fork of BAT_senior_design by Azra Ismail

Files at this revision

API Documentation at this revision

Comitter:
aismail1997
Date:
Wed Oct 04 15:03:16 2017 +0000
Parent:
0:9eda4611081a
Commit message:
Test-Azra

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Oct 04 14:47:07 2017 +0000
+++ b/main.cpp	Wed Oct 04 15:03:16 2017 +0000
@@ -1,6 +1,7 @@
 #include "mbed.h"
 #include "Servo.h"
 
+// Azra
 PwmOut myservo(p21);
 DigitalIn pb1 (p20);
 //AnalogIn linpot(p20);
@@ -9,7 +10,6 @@
 
 int main()
 {
-    // button up: state = 0, button halfway: state = 1; button down: state = 2
     //int state = 0;
     pc.printf("begin\n");
     int state = 2;