
This is a program for a DIY robotic arm for demonstrates the capacities of the BIXI Bluetooth module
Dependencies: Servo TextLCD mbed
Diff: main.cpp
- Revision:
- 6:f9179fb52bbc
- Parent:
- 5:da214688a308
diff -r da214688a308 -r f9179fb52bbc main.cpp --- a/main.cpp Mon Jun 20 12:15:15 2016 +0000 +++ b/main.cpp Tue Jun 21 07:44:26 2016 +0000 @@ -479,6 +479,8 @@ i=0; j = 20; lcd.locate(0, 0); + servoRL = 0.99; + servoHL = 0.99; while(i<j){ float mesure = analogX.read(); mesure = mesure*120; @@ -494,6 +496,8 @@ } page = 4; ok = 1; + servoRL = 0.00; + servoHL = 0.00; } } } \ No newline at end of file