mirror of
https://github.com/eddyem/tsys01.git
synced 2026-03-22 09:41:04 +03:00
Change USART1 to LEDs for T0/T1 presence indication (@ Tcalc_screen_ver2)
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
|
||||
#include "stm32f0.h"
|
||||
|
||||
#define UARTBUFSZ (64)
|
||||
|
||||
// macro for static strings
|
||||
#define SEND(str) do{addtobuf(str);}while(0)
|
||||
|
||||
@@ -38,7 +40,7 @@
|
||||
#define newline() do{bufputchar('\n');}while(0)
|
||||
|
||||
extern uint8_t noLED;
|
||||
void cmd_parser(char *buf, uint8_t isUSB);
|
||||
void cmd_parser(char *buf);
|
||||
void addtobuf(const char *txt);
|
||||
void bufputchar(char ch);
|
||||
void printu(uint32_t val);
|
||||
|
||||
Reference in New Issue
Block a user