va_start 썸네일형 리스트형 nuvoton, va_list 로 printf 만들기 , sample source 뭐... 각설 하고,, 걍 소스 올립니다. #include #include // memset, strncmp 때문에 추가.#include void TX1_char(unsigned char c) { UART_WRITE(UART1,c); while(!(UART1->FIFOSTS & UART_FIFOSTS_TXEMPTYF_Msk));}void TX1_string(char *s){ while(*s != '\0'){ TX1_char(*s); s++; }}void print1f(const char* format, ...){ char buf[1000]; va_list args; memset(buf, 0, sizeof(buf)); .. 더보기 이전 1 다음