-
大小: 8.42MB文件类型: .rar金币: 2下载: 0 次发布日期: 2023-10-10
- 语言: 其他
- 标签: STM32F103C8T HAL库
资源简介
这个程序是基于STM32HAL库写的一个温湿度传感器SI7021程序,以测试成功

代码片段和文件信息
//#include “stm32f10x.h“
#include “delay.h“
void Delay_ms(u16 i)
{
u32 temp_val;
SysTick->LOAD=i*9000;
SysTick->CTRL=0x01;
SysTick->VAL=0x00;
do
{
temp_val=SysTick->CTRL;
}while ((temp_val&0x01)&&(!(temp_val&(1<<16))));
SysTick->CTRL=0x00;
SysTick->VAL=0x00;
}
void Delay_us(u16 i)
{
u32 temp_val;
SysTick->LOAD=i;
SysTick->CTRL=0x01;
SysTick->VAL=0x00;
do
{
temp_val=SysTick->CTRL;
}while ((temp_val&0x01)&&(!(temp_val&(1<<16))));
SysTick->CTRL=0x00;
SysTick->VAL=0x00;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3816 2018-08-10 15:35 si7021温湿度传感器\.mxproject
文件 535 2018-08-10 14:23 si7021温湿度传感器\DELAY\delay.c
文件 238 2018-08-10 14:32 si7021温湿度传感器\DELAY\delay.h
文件 499383 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f100xb.h
文件 544592 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f100xe.h
文件 450054 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101x6.h
文件 460427 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xb.h
文件 538241 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xe.h
文件 553283 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xg.h
文件 542782 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f102x6.h
文件 552388 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f102xb.h
文件 874443 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103x6.h
文件 884820 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xb.h
文件 971857 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xe.h
文件 985951 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xg.h
文件 1261488 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f105xc.h
文件 1342323 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f107xc.h
文件 8788 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f1xx.h
文件 3337 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Include\system_stm32f1xx.h
文件 15127 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f100xb.s
文件 16715 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f100xe.s
文件 12564 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101x6.s
文件 12937 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101xb.s
文件 15049 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101xe.s
文件 15808 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101xg.s
文件 12886 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f102x6.s
文件 13271 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f102xb.s
文件 13449 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103x6.s
文件 13834 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
文件 16391 2018-06-21 17:36 si7021温湿度传感器\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xe.s
............此处省略622个文件信息
- 上一篇:区块链视电商平台实现
- 下一篇:联想H61最新BIOS
相关资源
- stm32f103c8t6 4 oled.rar
- STM32F103C8T6+NRF24l01无线通信
- 详细讲解柔性电子传感器和构造
- 基于STM32F103C8T6的循迹避障小车完成
- 单片机控制SHT75温湿度传感器测试
- stm32f103c8t6-max31865-pt100测温
- STM32F103C8T6与MQTT通信的源码
- STM32F103C8T6读取DS18B20串口显示程序.r
-
STM32F103C8T6_AES-128-CTR_ba
se64密文解密 - stm32f103c8t6移植uC/OS-III基于HAL库的工程
- stm32单片机IIC通讯采集sht20温湿度传感
- STM32F103C8T6最小系统+原理图+PCB和库.
- STM32F103C8T6的DFU模式
- stm32f103c8t6 Keil led工程
- STM32F103C8T6读取DS18B20串口显示程序
- 基于STM32F103ZE的STH3x温湿度传感器代码
- STM32f103C8t6型单片机用于超声波测距
- DHT11温湿度传感器项目代码.rar
- STM32F103C8T6+OLED
- hdc1080.pdf
- LORA完成.rar
- STM32F103C8T6+DHT11+SGP30+CH340+ADC
- STM32F103C8T6+DHT11+OLED
- stm32f103c8t6 OLED 硬件SPI
- SHT30温湿度传感器程序
- 基于STM32F103C8T6的四轴飞行器源码
- STM32温湿度传感器DHT11代码,通过串口
- STM32 STM32F103C8T6 片内FLASH读写例程
- 基于STM32f103c8t6的LCD2004.rar
- STM32-SHT20温湿度传感器驱动程序
评论
共有 条评论