搜索资源列表
mega1280
- AVR ATmega1280 单片机串口通信 串口接收字符串,四个串口同时启用,具有通信超时处理功能-AVR ATmega1280 microcontroller serial communication serial port to receive a string, four serial ports is also enabled with a communication time-out processing
abc
- 单片机向主机发送字符串,用C语言写的,对初学者很有用-Microcontroller sends a string to the host, written with C language, useful for beginners
program
- 1、 由PC机发送一个字符给单片机,单片机收到后,将该字符回送给PC。 2、 由PC机发送一个字符给单片机,单片机收到后,将小写字母转换成大写字母回送给PC机,如果不是小写字母,单片机均回送字符“F”给PC机。 3、 由PC机发送一个字符串给单片机,单片机接收到后将其中的大写“A”字母的个数统计出来,显示在数码管上。-1, the PC sends a character to the microcontroller, MCU receive the characters back to
cshi
- c串口通信,PC与单片机实现字符串的通讯,实现了双向通讯-the c serial communication, PC and MCU string communication, to achieve two-way communication
C
- 当接收指令信号为:’go’ , 单片机向PC机发送字符串‘WELCOME TO CHINA!’, 当接收指令信号为:’who’,单片机向PC机发送字符串‘MY NAME IS LIMING’, 当接收指令信号为:’home’,单片机向PC机发送字符串‘YINGYONGKEXUEXUEYUAN’, -When receiving the command signal is: ' go' , microcontroller to the PC to send the stri
include
- 中断程序的编写:在单片机系统的p1口上接有8个LED,LED的阳极接+5V,阴极接P1口的引脚。当P1口某一口线输出为0时,将LED点亮。在外部中断0输出引脚P3.2引脚上接上上拉电阻并接有一个按钮开关K1。用K1按钮来产生外部中断0的输入信号。定时器程序的编写:在AT89S51单片机的P1口上接有8个LED.下面采用定时器T0的方式一的定时中断方式,使P1口外接的8个LED每0.5秒闪亮一次。C51程序:在AT89S51的P1.0脚接有一只发光二极管,二极管的阴极接P1.0脚,阳极通过限流电阻
multichoice
- 用于从PC机上发送一个字符串给单片机 并接受单片机发回的字符串-Send a string the PC to the microcontroller and the microcontroller to accept the string used to send back