-
PIC18F4550+18B20测温程序
PIC18F4550+18B20测温程序本程序实现:
1、使用DS18B20数字温度传感器测温(通过RE1端口),小数点后2位。
2、使用LCD1602通用液晶显示屏显示:Temp=26.32摄氏度
3、完全调试通过。
- 2022-07-09 04:44:48下载
- 积分:1
-
在S3C44B0上实现的键盘和LED驱动程序,其关键是使用了系统定时器来提高效率。此代码依赖于硬件的GPIO接口,但只需按照实际稍微改动即可。...
在S3C44B0上实现的键盘和LED驱动程序,其关键是使用了系统定时器来提高效率。此代码依赖于硬件的GPIO接口,但只需按照实际稍微改动即可。-S3C44B0 in achieving the keyboard and LED driver, The key is to use a timer system to improve efficiency. This code depends on the hardware GPIO interface, but only in accordance with the actual changes will be slight.
- 2023-05-23 01:15:02下载
- 积分:1
-
CH375并口方式控制打印机
应用背景
单片机通过CH375链接USB口的打印机
// 单片机通过CH375控制USB打印机
// 程序示例,C语言,CH375中断为查询方式,只负责数据传输,不涉及打印格式及打印描述语言
// 另可提供多台计算机共享一台USB打印机的方案
// 以下定义适用于AVR 单片机,其它单片机参照修改,为了提供C语言的速度需要对本程序进行优化
关键技术
/* PORTB |= 0x08; // 输出A0=1
PORTA = mCmd; // 向CH375的并口输出数据
DDRA = 0xFF; // 并口D0-D7输出
PORTB &= 0xF9; // 输出有效写控制信号, 写CH375芯片的命令端口, A0=1; CS=0; WR=0; RD=1;
DDRA = 0xFF; // 该操作无意义,仅作延时,CH375要求读写脉冲宽度大于100nS
PORTB |= 0x07; // 输出无效的控制信号, 完成操作CH375芯片, A0=1; CS=1; WR=1; RD=1;
DDRA = 0x00; // 禁止数据输出
PORTB &= 0xF7; // 输出A0=0; 可选操作
*/
- 2023-09-03 07:10:03下载
- 积分:1
-
你可曾经为硬件看门狗的复位时间太短,而苦恼过,这个方法帮你解决问题. 用定时器喂狗,如果超过一定时间(程序跑飞,或整个中断都关闭,都会导致定时器不喂狗,导致看门...
你可曾经为硬件看门狗的复位时间太短,而苦恼过,这个方法帮你解决问题. 用定时器喂狗,如果超过一定时间(程序跑飞,或整个中断都关闭,都会导致定时器不喂狗,导致看门狗的复位,从而延长了看门狗的复位时间)不喂就复位. 程序中我以lcpRD2为例.-you may have to reset the hardware watchdog short time and anguish that this approach help you solve the problem. DOG with timers, if more than a certain time (running fly procedures, or were closed throughout the interruption, it will not lead to the timer DOG, resulting in the reduction watchdog, thereby prolonging the watchdog reset the time) do not feed on the reset. proceedings I lcpRD2 example.
- 2023-07-12 06:15:03下载
- 积分:1
-
这个程序在P89C51嵌入式微控制器盒正弦波
this the program for sine wave in P89c51 embedded microcontroller kit-this is the program for sine wave in P89c51 embedded microcontroller kit
- 2022-01-21 06:06:47下载
- 积分:1
-
arm3000的键盘和led驱动的源代码
arm3000的键盘和led驱动的源代码-arm3000 the keyboard and led driver source code
- 2022-04-29 14:13:09下载
- 积分:1
-
Avalon_TFT_LCD是Nios系统液晶显示控制方案,供大家参考.
Avalon_TFT_LCD是Nios系统液晶显示控制方案,供大家参考.-Avalon_TFT_LCD is Nios System LCD control program for your reference.
- 2023-04-27 16:00:03下载
- 积分:1
-
基于ATmega16的12864液晶显示源代码,包含汉字和图像的显示
基于ATmega16的12864液晶显示源代码,包含汉字和图像的显示-ATmega16 based on the 12864 LCD source code contains characters and image display
- 2022-04-25 07:48:44下载
- 积分:1
-
基于EasyArm2200和ucOS2的SD卡文件系统的实现,使用ADS编译器
基于EasyArm2200和ucOS2的SD卡文件系统的实现,使用ADS编译器-EasyArm2200 and ucOS2 based on the SD Card File System Implementation, using ADS compiler
- 2022-10-22 21:25:03下载
- 积分:1
-
This research project evaluates startup times of the linux boot process from pow
This research project evaluates startup times of the linux boot process from power-on until user login.
Time consuming parts of the boot process are investigated and methods how to speed up the whole
process are discussed.
- 2022-05-17 18:29:31下载
- 积分:1