I2C串行总线元器件标准驱动程序的编写,可自己定义串行时钟线和串行数据线所在口-I2C serial bus driver standard components of the preparation, may own definition serial clock line and serial data line I
用单片机实现的CAN总线通讯程序,其中包括CAN协议,键盘及显示控制芯片7279的控制程序。-MCU CAN bus communication procedures, including CAN agreement, keyboard and display controller chips 7279 the control procedures.
* 功能:运行RTC进行计时,将所时间值不断的通过串口向上位机发送,并把秒的值输出数码管D1
* 上显示。上位机运行EasyARM软件,在串口发送/接收窗口观察。
* 说明:* 通讯波特率115200,8位数据位,1位停止位,无奇偶校验。-* Function: RTC to run for a time, the time value will be constant upward through the serial-bit machine to send, and seconds values D1* output digital tube display. PC running EasyARM software serial port to send/receive window of observation.* Description:* 115200,8 bit baud rate of communication data bits, 1 stop bit, no parity.