![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
IVSC Project
Diff: main.cpp
- Revision:
- 2:d0778c36d28d
- Parent:
- 1:82f2ef52759e
- Child:
- 3:0072c2a81472
diff -r 82f2ef52759e -r d0778c36d28d main.cpp --- a/main.cpp Wed Nov 14 20:01:50 2012 +0000 +++ b/main.cpp Wed Nov 28 19:14:21 2012 +0000 @@ -1,10 +1,11 @@ #include "mbed.h" +#include "main.h" #include "USBHID.h" #include "DigiPot.h" #include "Max5250.h" #include "Relay.h" - Serial pc(USBTX,USBRX); + USBHID hid; HID_REPORT recv, xmit; BusOut leds(LED1,LED2,LED3,LED4); @@ -42,6 +43,7 @@ case 3: pc.printf("Going to Resistor set\n"); SetResist(recv.data); + break; case 4: pc.printf("Going to DAC set\n"); SetDAC(recv.data);