-
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
-
分析VB工程文件(VBP文件)
分析VB工程文件(VBP文件)-analysis VB project files (VBP)
- 2023-05-20 01:45:03下载
- 积分:1
-
动态规划
动态规划----矩阵连乘问题 动态规划法是解决问题的一种方法。它不规定为了得到结果需如何将问题划分为子问题的固定方法,而是按不同输入给出问题的具体实例的子问题划分方法,然后再进行运算、解答问题。 矩阵连乘问题的主要思想如下: 1)设置大小为连乘个数的方阵 2)主对角线上方各元素Di,j(ij)记录获得该最小工作量矩阵分组的第一组的最后一个矩阵的序列号 最后通过下方元素可知最终结果的分组方式。-dynamic programming matrix continually multiply-dynamic programming problem is a problem-solving method. It does not require the results need to be how to divide the problems of the sub- problems fixed, but different input given by the specific example of the problem partition method, and then calculate, and answer questions. Matrix continually multiply the main idea is as follows : 1) the installation of the size of continually multiply the number phalanx 2) above the main diagonal elements Di, j (ilt; J) Matrix Mi continually multiply to the smallest workload 3) below elements Di, j (IGT; J) the record was the smallest workload of a matrix of the first group of a matrix of the final sequence, followed by the final element of the final results of the
- 2022-06-17 10:27:59下载
- 积分:1
-
good source, we hope to learn download. A good source, we hope to learn the down...
很好的原代码,希望大家下载学习. 很好的原代码,希望大家下载学习.-good source, we hope to learn download. A good source, we hope to learn the download. a good source, we hope to learn download.
- 2022-07-17 06:11:16下载
- 积分:1
-
窗口内的带滚动条的窗口控件+源码,可以用来排除界面上控件没地方放的尴尬...
窗口内的带滚动条的窗口控件+源码,可以用来排除界面上控件没地方放的尴尬 -the window with a rolling window of the Control+ source code can be used to exclude interface controls no place to put the embarrassing
- 2022-10-09 11:35:03下载
- 积分:1
-
chat procedures and browser procedures an example straightforward
chat程序和browser程序的一个例子,简单易懂-chat procedures and browser procedures an example straightforward
- 2022-05-24 10:21:47下载
- 积分:1
-
Paint program based on single document can draw a straight line rectangle circle...
基于单文档的画图程序
可以画直线 矩形 圆形 椭圆等
线型、粗细、颜色可任意设置,
也可选择有无填充色,可保存文件,并打开-Paint program based on single document can draw a straight line rectangle circle ellipse and line style, thickness, color can be arbitrarily set, can also choose whether the fill color, save the file, and open the
- 2022-02-28 13:59:33下载
- 积分:1
-
Practical C++ Programming ebook
Practical C++ Programming ebook
- 2022-03-30 23:57:45下载
- 积分:1
-
高质量C++、C编程指南quality C++/ C Programming Guide。
高质量C++、C编程指南quality C++/ C Programming Guide。-quality C++/ C Programming Guide。
Proficient on programming technique to establish standard and guideline.
- 2022-05-19 15:10:06下载
- 积分:1
-
Realize the main stack are some of the basic operations, such as: out of stack,...
主要是实现堆栈的一些基本操作,比如:出栈,清空堆栈,访问堆栈顶元素,以及测试堆栈状态等。-Realize the main stack are some of the basic operations, such as: out of stack, empty the stack, the stack top element of the visit, as well as the test stack status.
- 2022-07-26 01:11:56下载
- 积分:1