Welcome![Sign In][Sign Up]
Location:
Search - program for uart to configure

Search list

[SCMUART

Description: // This program demonstrates how to configure the C8051F060 to write to and read // from the UART interface. The program reads a word using the UART0 interrupts // and outputs that word to the screen, with all characters in uppercase
Platform: | Size: 53248 | Author: 蓝天 | Hits:

[SCMPT22726

Description: For this project you need a 3.7v power supply that prepared by LM317 regulator. So you need MAX232 for connect uart to pc .my AVR chip project is Mega8 that you can program on any Avr chip have 2kbyte rom. In bascom spi hardware don’t work correct, so I have to software spi ,but the software spi configure have low speed into hardware spi.
Platform: | Size: 17408 | Author: Mohammad | Hits:

[Other Embeded programchuangxing

Description: 配置CCP1模块使之工作于PWM模式,并初始化周期和占空比。单片机的UART接口工作于全双工异步模式,1个起始位,8个数据位,1个停止位,波特率为9600,并开启接收中断,与PC机通信。编写程序实现功能:当UART接收到命令“S”时,LCD上显示“PWM Start”, PWM开始工作。当UART接收到命令“U”时,占空比增加,当UART接收到命令“D”时,占空比减少,并在LCD上显示占空比。当UART接收到命令“P”时, PWM停止工作,LCD上显示“PWM Stop”。并用示波器观察PWM输出波形的变化。 并使用ICD2仿真器进行程序的烧写和仿真调试。 -Configure the CCP1 module for PWM operation, and initialize the period and duty cycle. The microcontroller UART interface operates in full-duplex asynchronous mode, one start bit, 8 data bits, 1 stop bit, baud rate of 9600, and open to receive interrupt communication with the PC. Write a program to achieve functional: " PWM Start" , PWM start working when the UART receiver to command " S" is displayed on the LCD. Increase the duty cycle when received by the UART command " U" , When UART receives command " D" , the duty cycle to reduce the duty cycle is displayed on the LCD. When the when UART receives command " P" , the the PWM stop working, PWM Stop " is displayed on the LCD. And observe the change of the PWM output waveform with an oscilloscope. And to use ICD2 emulator for procedural programming and simulation debugging.
Platform: | Size: 113664 | Author: 杨梦红 | Hits:

CodeBus www.codebus.net