-
dsp 5509a 的usb程序ATMEGA16单片机进行AD转换的源程序代码
dsp 5509a 的usb程序ATMEGA16单片机进行AD转换的源程序代码-dsp 5509a the usb procedures ATMEGA16 microcontroller for AD conversion of the source code
- 2022-03-26 11:53:37下载
- 积分:1
-
1. 本程序使用一个定时器和任意 2 个 I/O 口模拟一个串行口。
2. 1位起始位,8位数据位,1位停止位。发数据位时先发低位。
3. 支持半双...
1. 本程序使用一个定时器和任意 2 个 I/O 口模拟一个串行口。
2. 1位起始位,8位数据位,1位停止位。发数据位时先发低位。
3. 支持半双工通讯。收、发波特率相同。
4. 应把定时器中断优先级设置为最高级。
5. 本程序每接收一个字节后就把它放到一个队列缓冲区中(也可使用环行缓冲区),
待缓冲区满后,将缓冲区中的内容原样发回。这是为了测试多字节连续收发的
能力和简化程序。实际应用中应防止缓冲区溢出。
6. 由接收转换到发送时要先调用 soft_send_enable ();
由发送转换到接收时要先调用 soft_receive_enable ()。
7. 发送最后一个字节后如果要立刻转为接收,必须等待最后一个字节后发送完毕
while ( rs_f_TI == 0) // 等待最后一个字节发送完毕-err
- 2022-06-19 08:35:11下载
- 积分:1
-
MSP430F149的数据采集程序,并显示在LED上。
MSP430F149的数据采集程序,并显示在LED上。-MSP430F149 data collection procedures, and displayed on the LED on.
- 2023-03-24 09:50:03下载
- 积分:1
-
直流电机调速模块采用模拟出租车的速度,通过模数转换为S。
采用直流电机测速单元模拟出租车速度,通过A/D转换进行速度采样,利用单片机的定时器/计数器定时和计数,用LED数码管或LCD显示总价和时间,并通过键盘进行单价设定及时间显示,键盘功能自行定义。-DC Motor Speed modules using simulation taxi speed, through the A/D conversion speed of sampling, the use of single-chip timer/counter timing and counting, with LED digital tube or LCD display the total price and time, and through keyboard Price settings and time display, keyboard function on its own definition.
- 2022-07-03 21:49:25下载
- 积分:1
-
基于Freescale公司的8位单片机MC68HC908GP32,提供一些简单的实验仿真程序,以便初学者学习...
基于Freescale公司的8位单片机MC68HC908GP32,提供一些简单的实验仿真程序,以便初学者学习-Based on Freescale
- 2022-03-31 14:59:51下载
- 积分:1
-
基于单片机的温度检测,可以用proteus进行仿真
基于单片机的温度检测,可以用proteus进行仿真-Temperature detection based on single chip can be used proteus simulation
- 2023-01-10 23:35:03下载
- 积分:1
-
51以串行方式驱动12864
51以串行方式驱动12864-51 源 蟹 式 12864
- 2023-01-31 14:25:03下载
- 积分:1
-
c语言实现c51单片机PWM输出控制电机的转角
c语言实现c51单片机PWM输出控制电机的转角-c51
- 2022-08-31 16:10:03下载
- 积分:1
-
89c51 Control I2C TV Source, there are circuits for your reference.
89c51 Control I2C TV Source,内有电路供大家参考。-89c51 Control I2C TV Source, there are circuits for your reference.
- 2022-07-11 05:23:33下载
- 积分:1
-
1.电子琴功能
用实验板上K1~K7作为电子琴的7个按键,每个按键对应一个音符要求当按下其中一个按键,就通过P2.5口输出对应频率信号使蜂鸣器发出特定音符声...
1.电子琴功能
用实验板上K1~K7作为电子琴的7个按键,每个按键对应一个音符要求当按下其中一个按键,就通过P2.5口输出对应频率信号使蜂鸣器发出特定音符声音。
2.乐曲演奏
若按下K8键,完成自动弹奏“送别”歌曲。
-1. Organ function of the experimental board K1 ~ K7 as the organ of the seven buttons, each button corresponds to a note of which require that when the press of a button, on the adoption of P2.5 port output frequency signal corresponding to a specific note to the buzzer sounds . 2. Music playing, if pressed K8 button to complete the auto-play " Farewell" songs.
- 2023-01-04 14:40:03下载
- 积分:1