-
DS18B20数字温度传感器实验
实验器材:探索者STM32F4开发板实验目的:学习DS18B20数字温度传感器的使用.硬件资源:1,DS0(连接在PF9)2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面)3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A6接RS) 4,DS18B20传感器一个(接在PG9上). 实验现象:本实验开机的时候先检测是否有DS18B20存在,如果没有,则提示错误。只有在检测到DS18B20之后才开始读取温度并显示在LCD上,如果发现了DS18B20,则程序每隔100ms左右读取一次数据,并把温度显示在LCD上。同样我们也是用DS0来指示程序正在运行。 注意事项: 1,4.3寸和7寸屏需要比较大电流,USB供电可能不足,请用外部电源适配器(推荐外接12V 1A电源).2,本例程在LCD_Init函数里面(在ILI93xx.c),用到了printf,如果不初始化串口1,将导致液晶无法显示!! 3,需自备DS18B20数字温度传感器一个,并插在开发板的U12位置(根据丝印插,平面朝内)
- 2022-04-10 22:55:01下载
- 积分:1
-
嵌入式WINCE控件使用编程,用EVC开发来实现.
嵌入式WINCE控件使用编程,用EVC开发来实现.-WINCE control the use of embedded programming, development to achieve with the EVC.
- 2023-03-08 10:25:04下载
- 积分:1
-
GetTickCount unable to calculate the following time 16ms, which can code the pre...
GetTickCount无法计算16ms以下的时间,该段代码可以进行毫秒级的精确计时-GetTickCount unable to calculate the following time 16ms, which can code the precise millisecond timing
- 2022-07-09 09:00:24下载
- 积分:1
-
印出happy birthday的c++練習
印出happy birthday的c++練習印出happy birthday的c++練習
印出happy birthday的c++練習印出happy birthday的c++練習
- 2023-01-15 02:20:02下载
- 积分:1
-
平滑去除噪声
这个程序在windows编程环境下用VC++编写成的,这是一个图像噪声去除的程序,程序可以对二值图像的中的噪声进行去除,效果良好,请大家借鉴,相互学习。
- 2022-04-06 23:54:53下载
- 积分:1
-
鼠标接口程序包括5部分:一、 检测并初始化鼠标 二、 鼠标的活动范围
三、 打开或关闭鼠标四、 鼠标的形状五、 鼠标的形状...
鼠标接口程序包括5部分:一、 检测并初始化鼠标 二、 鼠标的活动范围
三、 打开或关闭鼠标四、 鼠标的形状五、 鼠标的形状 -mouse interface includes five parts : a detection and initialization two mouse, the mouse"s activities three, Open or closed four mouse, the mouse"s shape 5, the shape of the mouse
- 2022-03-05 02:41:34下载
- 积分:1
-
一个关于字符串匹配的算法,已经经过编译,希望对你有帮助...
一个关于字符串匹配的算法,已经经过编译,希望对你有帮助- About the character string match algorithm, already passed
through the translation, hoped had to you helps
- 2022-03-20 01:30:15下载
- 积分:1
-
用vc++开发的9×9数独游戏的计算机程序
用vc++开发的9×9数独游戏的计算机程序-Vc++ development with the 9 × 9 Sudoku computer program
- 2022-03-06 07:18:45下载
- 积分:1
-
ExcelHelper (Excel Import and Export) examples source Excel interoperability wit...
ExcelHelper(Excel导入导出)实例源码
Excel与DataTable 互操作示例 -ExcelHelper (Excel Import and Export) examples source Excel interoperability with DataTable example
- 2022-03-21 05:08:22下载
- 积分:1
-
DirectSound例程源码,编译时需要下载DirectX SDK
DirectSound例程源码,编译时需要下载DirectX SDK-DirectSound routines source code, compile-time need to download the DirectX SDK
- 2022-02-10 05:44:41下载
- 积分:1