mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
fixed schematics @ canon managing, add initialization for absolute positioning, TODO: add CAN bus management
This commit is contained in:
@@ -22,6 +22,15 @@
|
||||
|
||||
#include <stm32f1.h>
|
||||
|
||||
#define printu(x) do{USB_send(u2str(x));}while(0)
|
||||
#define printuhex(x) do{USB_send(uhex2str(x));}while(0)
|
||||
|
||||
#ifdef EBUG
|
||||
#define DBG(x) do{USB_send(x); USB_send("\n");}while(0)
|
||||
#else
|
||||
#define DBG(x)
|
||||
#endif
|
||||
|
||||
const char *parse_cmd(const char *buf);
|
||||
char *omit_spaces(const char *buf);
|
||||
char *getnum(const char *buf, uint32_t *N);
|
||||
|
||||
Reference in New Issue
Block a user