USB servo control

Dependencies:   Servo mbed

usb-servo.h

Committer:
faif
Date:
2016-11-13
Revision:
0:61aafea4a4fe

File content as of revision 0:61aafea4a4fe:

#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