2022-02-10 19:03:59 +08:00

15 lines
232 B
C

#pragma once
#ifndef NULL
#define NULL ((void *)0)
#endif
//equal to printf
//not support : float,64bit integer,
//support: %d, %x, %s, %c, %p
void myprintf (const char *fmt, ...);
//init usart2 for printf
void myprintf_init();