基于stm32f401的温湿度检测显示1602加仿真

上传者: 43292620 | 上传时间: 2021-06-26 11:30:14 | 文件大小: 1.64MB | 文件类型: ZIP
基于stm32f104的温湿度检测显示1602加仿真,亲测可用#include #include int temperature=0; //温度 int humidness=0; //湿度 int warningtep=30; //预警温度 int warninghum=80; //预警湿度 int change=0; //用来改变预警温度or湿度 int jump=0; //用来判断是否有按键按下 /****************************led警报 ******************************/ //led初始化 void LED_Init(void) { GPIO_InitTypeDef aaa; //定义一个结构体变量 //1、使能指定的GPIO模块时钟--默认复位后开机时钟不会全部提供给各个模块 使用时需要自己开启 RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE); //2、初始化引脚 aaa.GPIO_Pin = GPIO_Pin_5|GPIO_Pin_8|GPIO_Pin_12; //引脚号选择 PA0 也要按照官方的填法 怎么填 去头文件 stm32f4xx_gpio.h aaa.GPIO_Mode = GPIO_Mode_OUT; //输出模式 aaa.GPIO_OType = GPIO_OType_PP; //推挽输出 aaa.GPIO_Speed = GPIO_High_Speed; //高速 GPIO_Init(GPIOD,&aaa); //& }

文件下载

资源详情

[{"title":"( 52 个子文件 1.64MB ) 基于stm32f401的温湿度检测显示1602加仿真","children":[{"title":"keil工程","children":[{"title":"DHT11","children":[{"title":"Objects","children":[{"title":"stm32f4xx_gpio.d <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rcc.d <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"stm32f4xx_syscfg.d <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"system_stm32f4xx.o <span style='color:#111;'> 330.16KB </span>","children":null,"spread":false},{"title":"stm32f4xx_exti.d <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"main.crf <span style='color:#111;'> 331.11KB </span>","children":null,"spread":false},{"title":"dht11.lnp <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"system_stm32f4xx.crf <span style='color:#111;'> 322.74KB </span>","children":null,"spread":false},{"title":"stm32f4xx_tim.crf <span style='color:#111;'> 341.10KB </span>","children":null,"spread":false},{"title":"dht11.sct <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"stm32f4xx_exti.o <span style='color:#111;'> 336.81KB </span>","children":null,"spread":false},{"title":"stm32f4xx_gpio.o <span style='color:#111;'> 346.75KB </span>","children":null,"spread":false},{"title":"dht11.axf <span style='color:#111;'> 278.70KB </span>","children":null,"spread":false},{"title":"stm32f4xx_syscfg.o <span style='color:#111;'> 336.05KB </span>","children":null,"spread":false},{"title":"main.d <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"dht11.build_log.htm <span style='color:#111;'> 7.02KB </span>","children":null,"spread":false},{"title":"stm32f4xx_syscfg.crf <span style='color:#111;'> 321.95KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rcc.crf <span style='color:#111;'> 331.82KB </span>","children":null,"spread":false},{"title":"DHT11_Target 1.dep <span style='color:#111;'> 16.36KB </span>","children":null,"spread":false},{"title":"stm32f4xx_gpio.crf <span style='color:#111;'> 323.66KB </span>","children":null,"spread":false},{"title":"dht11.hex.asm <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 367.57KB </span>","children":null,"spread":false},{"title":"misc.crf <span style='color:#111;'> 321.65KB </span>","children":null,"spread":false},{"title":"dht11.hex <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"startup_stm32f401xx.d <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"startup_stm32f401xx.o <span style='color:#111;'> 6.77KB </span>","children":null,"spread":false},{"title":"misc.d <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"stm32f4xx_rcc.o <span style='color:#111;'> 404.74KB </span>","children":null,"spread":false},{"title":"stm32f4xx_tim.d <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"stm32f4xx_exti.crf <span style='color:#111;'> 322.11KB </span>","children":null,"spread":false},{"title":"stm32f4xx_tim.o <span style='color:#111;'> 466.46KB </span>","children":null,"spread":false},{"title":"misc.o <span style='color:#111;'> 332.38KB </span>","children":null,"spread":false},{"title":"dht11.htm <span style='color:#111;'> 56.45KB </span>","children":null,"spread":false},{"title":"system_stm32f4xx.d <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false}],"spread":false},{"title":"main.c <span style='color:#111;'> 19.49KB </span>","children":null,"spread":false},{"title":"Listings","children":[{"title":"TIM2.map <span style='color:#111;'> 82.60KB </span>","children":null,"spread":false},{"title":"dht11.map <span style='color:#111;'> 91.58KB </span>","children":null,"spread":false},{"title":"startup_stm32f401xx.lst <span style='color:#111;'> 66.61KB </span>","children":null,"spread":false},{"title":"LED.map <span style='color:#111;'> 68.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"DHT11.uvoptx <span style='color:#111;'> 5.56KB </span>","children":null,"spread":false},{"title":"DHT11.uvprojx <span style='color:#111;'> 19.34KB </span>","children":null,"spread":false},{"title":"RTE","children":[{"title":"_Target_1","children":[{"title":"RTE_Components.h <span style='color:#111;'> 634B </span>","children":null,"spread":false}],"spread":true},{"title":"Device","children":[{"title":"STM32F401VE","children":[{"title":"system_stm32f4xx.c <span style='color:#111;'> 38.71KB </span>","children":null,"spread":false},{"title":"startup_stm32f401xx.s <span style='color:#111;'> 25.21KB </span>","children":null,"spread":false},{"title":"RTE_Device.h <span style='color:#111;'> 150.47KB </span>","children":null,"spread":false},{"title":"stm32f4xx_conf.h <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"DHT11.uvguix.Administrator <span style='color:#111;'> 88.28KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"protues工程","children":[{"title":"DHT11","children":[{"title":"Backup Of DHT11.pdsbak <span style='color:#111;'> 19.39KB </span>","children":null,"spread":false},{"title":"DHT11.pdsprj.DESKTOP-QRUGF2U.KDM.workspace <span style='color:#111;'> 17.40KB </span>","children":null,"spread":false},{"title":"DHT11.pdsprj <span style='color:#111;'> 19.39KB </span>","children":null,"spread":false},{"title":"Last Loaded DHT11.pdsbak <span style='color:#111;'> 19.39KB </span>","children":null,"spread":false},{"title":"DHT11.pdsprj.RRZSBRJJYU6J8JA.Administrator.workspace <span style='color:#111;'> 17.39KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明