33 #define KP_C2 PC_0 |
33 #define KP_C2 PC_0 |
34 #define KP_C3 PB_4 |
34 #define KP_C3 PB_4 |
35 #define KP_C4 PB_0 |
35 #define KP_C4 PB_0 |
36 |
36 |
37 #if defined(HAVE_PC) |
37 #if defined(HAVE_PC) |
38 //#include <USBSerial.h> |
38 |
39 //USBSerial pc; |
39 #include <USBSerial.h> |
|
40 #if 1 |
|
41 USBSerial pc(false); // PA_11 USB_DM, PA_12 USB_DP (with 1.5k pull-up) |
|
42 #else |
40 BufferedSerial pc(PC_10_ALT0, PC_11_ALT0, 115200); // UART_4 |
43 BufferedSerial pc(PC_10_ALT0, PC_11_ALT0, 115200); // UART_4 |
41 //BufferedSerial pc(PC_10, PC_11, 115200); // UART_4 |
|
42 #endif |
44 #endif |
43 |
45 |
44 #endif |
46 #endif |
|
47 |
|
48 #endif |