AVR_M168_debug_log
USART:
//TIPS:
//transmitt and receive enable,set the baud rate;if use the interrupt,
//then set the interrupt enable
最好是先启动串口调试工具,再启动M168,若相反,则导致起始位定在一帧数据的中间,造成接受的数据连续出错,eg:发59,收到95,56,65,59
USART:
//TIPS:
//transmitt and receive enable,set the baud rate;if use the interrupt,
//then set the interrupt enable
最好是先启动串口调试工具,再启动M168,若相反,则导致起始位定在一帧数据的中间,造成接受的数据连续出错,eg:发59,收到95,56,65,59