Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed Servo C12832_lcd
Revision 1:52cda602892c, committed 2018-11-23
- Comitter:
- mazmonem
- Date:
- Fri Nov 23 16:37:21 2018 +0000
- Parent:
- 0:65b5886093c5
- Commit message:
- final code;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Nov 23 16:34:14 2018 +0000 +++ b/main.cpp Fri Nov 23 16:37:21 2018 +0000 @@ -11,10 +11,10 @@ InterruptIn centre(p14); InterruptIn up(p15); InterruptIn right(p16); -Servo myservo(p21); //servo motor -C12832_LCD lcd; //lcd screen -AnalogIn fsr(p17); //force sensitive resistor -AnalogIn dist(p18); //ir sensor +Servo myservo(p21); +C12832_LCD lcd; +AnalogIn fsr(p17); +AnalogIn dist(p18); float iraverage; //averages ir sensor input float fsraverage; //averages fsr input