在LPC2106上实现并测试过的代码,用串口收到的数据回显到串口(通过环行缓存实现)并将串口发送的接口写成了printf的形式 -To achieve the LPC2106 and tested code, serial data received echo to the serial port (via the ring buffer to achieve) and serial interface to send written in the form of a printf
此例为单片机串口的应用!将串口外接一个串入并出的数字芯片,可实现在单片机的串口扩展成并口输出功能!-This case the application for the single-chip serial! Will add a string to the serial port and a digital chip can be realized in the single-chip serial port expansion into a parallel port output function!