final code (doesnt work)

Dependencies:   mbed Servo C12832_lcd

Files at this revision

API Documentation at this revision

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
diff -r 65b5886093c5 -r 52cda602892c main.cpp
--- 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