Sakis Kasampalis
/
pwm-servo
USB servo control
Diff: usb-servo.h
- Revision:
- 0:61aafea4a4fe
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/usb-servo.h Sun Nov 13 12:22:13 2016 +0000 @@ -0,0 +1,12 @@ +#ifndef USB_SERVO_H +#define USB_SERVO_H + +Servo myservo(p21); +Serial pc(USBTX, USBRX); +struct Movement; + +void clear_screen(); +void show_menu(); +void update(const Servo& servo, const Movement& move); + +#endif