27:8f2be7aaec00 | 28:424d792fea4f |
---|---|
92 | 92 |
93 #endif | 93 #endif |
94 | 94 |
95 | 95 |
96 #ifdef HAVE_PC | 96 #ifdef HAVE_PC |
97 Serial pc(USBTX, USBRX); | 97 BufferedSerial pc(USBTX, USBRX); |
98 #endif | 98 #endif |
99 | 99 |
100 SSD1322 *dsp; | 100 SSD1322 *dsp; |
101 HPSerial *hp; | 101 HPSerial *hp; |
102 volatile uint8_t must_refresh; | 102 volatile uint8_t must_refresh; |
338 | 338 |
339 | 339 |
340 | 340 |
341 void setup() { | 341 void setup() { |
342 #ifdef HAVE_PC | 342 #ifdef HAVE_PC |
343 pc.baud (115200); | 343 pc.set_baud(115200); |
344 #endif | 344 #endif |
345 | 345 |
346 printf("\n\nSETUP\n"); | 346 printf("\n\nSETUP\n"); |
347 printf(" System Core Clock = %.3f MHZ\r\n", | 347 printf(" System Core Clock = %.3f MHZ\r\n", |
348 (float)SystemCoreClock/1000000); | 348 (float)SystemCoreClock/1000000); |