A device supporting students learning to type braille
Fork of BAT_senior_design by
Revision 1:7892155b3824, committed 2017-10-04
- 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;