USB servo control

Dependencies:   Servo mbed

Committer:
faif
Date:
Sun Nov 13 12:22:13 2016 +0000
Revision:
0:61aafea4a4fe
First version; ; Control a continuous rotation version using USB

Who changed what in which revision?

UserRevisionLine numberNew contents of line
faif 0:61aafea4a4fe 1 #ifndef USB_SERVO_H
faif 0:61aafea4a4fe 2 #define USB_SERVO_H
faif 0:61aafea4a4fe 3
faif 0:61aafea4a4fe 4 Servo myservo(p21);
faif 0:61aafea4a4fe 5 Serial pc(USBTX, USBRX);
faif 0:61aafea4a4fe 6 struct Movement;
faif 0:61aafea4a4fe 7
faif 0:61aafea4a4fe 8 void clear_screen();
faif 0:61aafea4a4fe 9 void show_menu();
faif 0:61aafea4a4fe 10 void update(const Servo& servo, const Movement& move);
faif 0:61aafea4a4fe 11
faif 0:61aafea4a4fe 12 #endif