avr單片機 串口實現printf(使用變參函數)

 /* * AVR串口實現printf函數 編譯器 avrstudio,avr-gcc 使用硬件:avrmega16單片機 */ #include <stdarg.h> #include <stdlib.h> #include <avr/io.h> typedef unsigned char uint8; static void usart_init(void) { UCSRA = 0
相關文章
相關標籤/搜索