Description: 51单片机通过外部中断读取标准的PS2串行键盘,并在1602液晶上显示-51 MCU via an external interrupt to read a standard PS2 keyboard, serial, and in 1602 LCD display Platform: |
Size: 16384 |
Author:ydp |
Hits:
Description: C51 的串口通讯,通关中断方式接收和发送数据-C51 serial communication, and customs clearance to receive and transmit data interrupt Platform: |
Size: 2048 |
Author:zhoufeng |
Hits:
Description: F2812 SCI与PC机串口调试助手以收发中断方式实现收发数据。(CCS3.3开发环境) 功能:使用SCIA模块和PC机进行串口通信,等待PC机上的串口调试软件向DSP发送"hellodsp",DSP接收到上位机发送的数据之后,将这些数据发回PC机,显示在串口调试软件中。 说 明:本实验中SCIA模块的发送和接收采用中断方式实现,空闲线模式波特率为19200,通信数据格式为1位停止位,8位数据位,无校验位-F2812 SCI and the PC serial port receive interrupt debugging assistant to send and receive data. (CCS3.3 development environment) function: use SCIA module and the PC serial port communication, waiting for the PC serial port debug software on the DSP to send "hellodsp", DSP receives data sent after the host computer, these data back to the PC , displayed in the serial debugging software. Description: This experiment SCIA module s transmit and receive interrupt-driven implementation, idle-line mode at 19200 baud, communication data format is 1 stop bit, 8 data bits, no parity Platform: |
Size: 363520 |
Author:奋斗不止 |
Hits:
Description: 串口商业程序范例:
接收和发射均采用中断模式,并且具备接收发射数据缓存功能,单片机可以方便的用状态机处理串口信息,商业程序最理想的处理方法,集成开发环境TKStudio。-Serial Business Program Example:
Are used to receive and transmit interrupt mode, and have the receiver transmit data buffer function, the microcontroller can be easily treated with a state machine serial information, business program the best approach, an integrated development environment TKStudio. Platform: |
Size: 6144 |
Author:邓小军 |
Hits:
Description: 基于F28335的SCI串口通信程序。本程序的特点是代码简单、高效。本代码共包含三个工程文件:1、基本通信(实现了最基本的通过SCI协议通讯的功能。上位机下发一个字符或字符串,下位机原样返回该字符或字符串);2、SCI通信FIFO版(在1的基础之上启用了FIFO缓存接收或发送的数据);3、SCI通信FIFO与中断版(通过启用FIFO功能减少对CPU资源的占用,且数据的发送与接收处理均在中断中完成)。此三个程序基本验证了F28335的SCI模块所有功能。-F28335 of SCI-based serial communication program. Features of this program is the code simple and efficient. This code contains a total of three project files: 1, the basic communication (via SCI achieve the most basic functions of communication protocols issued the PC or a character string as the next crew to return to the character or string.) 2, SCI communication FIFO version (on the basis of a FIFO buffer above the receive or transmit data enabled) 3, SCI communication FIFO and interrupt version (FIFO function by enabling reduce the occupancy of CPU resources, and sending and receiving data are processed in interrupt completed). The three basic procedures to verify the F28335 all functions of SCI module. Platform: |
Size: 369664 |
Author:杨杨 |
Hits:
Description: 设计两台单片机系统间的串行通信
(1)甲方P1口连接8个LED灯;
(2)乙方经串行通信输出数据至甲方,甲方根据所接收的数据,在8个LED灯实现流水灯显示;
(3)需采用串行口方式1及中断方式进行数据的发送和接收。(Design of Serial Communication between Two Single Chip Microcomputer Systems
(1) Party A's P1 port is connected with 8 LED lights;
(2) Party B outputs data to Party A through serial communication, and Party A realizes the pipeline lamp display in eight LED lamps according to the received data.
(3) Serial port mode 1 and interrupt mode are needed to transmit and receive data.) Platform: |
Size: 13312 |
Author:林~ |
Hits: