RC SERVO FOR KL46Z modificado con slider
Dependencies: SLCD Servo mbed tsi_sensor
Fork of SERVOCONTROL by
main.cpp
- Committer:
- mderrant
- Date:
- 2014-07-18
- Revision:
- 0:f0854ea82f82
- Child:
- 1:f718f736947a
File content as of revision 0:f0854ea82f82:
#include "mbed.h" #include "Servo.h" Servo s1(PTA1); Servo s2(PTA2); AnalogIn p1(PTD3); AnalogIn p2(PTA12); int main() { while(1) { s1=p1; s2=p2; wait(0.1); } }