极品馒头泬19p,国产精品亚洲一区二区三区,狠狠色噜噜狠狠狠7777奇米,国产精品视频一区二区三区无码,国产欧美日韩久久久久

【E1176】MS5611氣壓計(jì)的程序代碼

2021-09-13 20:01:12      索煒達(dá)電子      838     

項(xiàng)目編號(hào):E1176

文件大小:2.5M

源碼說(shuō)明:帶中文注釋

開發(fā)環(huán)境:C編譯器

簡(jiǎn)要概述:

代碼簡(jiǎn)潔易懂.(其實(shí)就是按著英文版的數(shù)據(jù)手冊(cè)還是說(shuō)明書寫的,我感覺(jué)那個(gè)歪果仁寫的真的很詳細(xì)了).本來(lái)用的自己寫的IIC,后來(lái)想著要上傳方便大家閱讀和使用,所以里面用了原子的myiic.  F1,F(xiàn)4只要把MS5611.C MS5611.H拉過(guò)去略作修改就可以了.本人親測(cè)了mini,戰(zhàn)艦,探索可用.

   讀出來(lái)后略微處理了一下,用LCD以直觀的方式顯示.

   備注: CSB接地,模塊地址(0xEE) PS接3.3V (IIC協(xié)議)

              PA12:SCL    PA11:SDA

             顯示數(shù)據(jù):溫度  以及溫度處理后的大氣壓(單位 mba)

   提醒: 切換到F4或者別的什么地方的時(shí)候,注意初始化的 復(fù)位后,一定的延遲(大概>20ms)是必須的... 否則初始化失敗.(它無(wú)法讀取或者讀不全到6個(gè)很重要的值)

             我已經(jīng)在main.c初始化的時(shí)候注釋了.....

【E1176】MS5611氣壓計(jì)的程序代碼

【E1176】MS5611氣壓計(jì)的程序代碼

【E1176】MS5611氣壓計(jì)的程序代碼

目錄│文件列表:

 └ MS5611測(cè)試

    │ keilkilll.bat

    │ README.TXT

    ├ CORE

    │  │ core_cm3.c

    │  │ core_cm3.h

    │  │ startup_stm32f10x_hd.s

    │  └ startup_stm32f10x_md.s

    ├ HARDWARE

    │  ├ 24CXX

    │  │  │ 24cxx.c

    │  │  └ 24cxx.h

    │  ├ IIC

    │  │  │ myiic.c

    │  │  └ myiic.h

    │  ├ KEY

    │  │  │ key.c

    │  │  └ key.h

    │  ├ LCD

    │  │  │ FONT.H

    │  │  │ lcd.c

    │  │  └ lcd.h

    │  ├ LED

    │  │  │ led.c

    │  │  └ led.h

    │  └ MS5611

    │     │ MS5611.C

    │     └ MS5611.H

    ├ OBJ

    │  │ core_cm3.crf

    │  │ core_cm3.d

    │  │ core_cm3.o

    │  │ delay.crf

    │  │ delay.d

    │  │ delay.o

    │  │ IIC.axf

    │  │ IIC.build_log.htm

    │  │ IIC.hex

    │  │ IIC.htm

    │  │ IIC.lnp

    │  │ IIC.sct

    │  │ key.crf

    │  │ key.d

    │  │ key.o

    │  │ lcd.crf

    │  │ lcd.d

    │  │ lcd.o

    │  │ led.crf

    │  │ led.d

    │  │ led.o

    │  │ main.crf

    │  │ main.d

    │  │ main.o

    │  │ misc.crf

    │  │ misc.d

    │  │ misc.o

    │  │ ms5611.crf

    │  │ ms5611.d

    │  │ ms5611.o

    │  │ myiic.crf

    │  │ myiic.d

    │  │ myiic.o

    │  │ startup_stm32f10x_hd.d

    │  │ startup_stm32f10x_hd.o

    │  │ stm32f10x_gpio.crf

    │  │ stm32f10x_gpio.d

    │  │ stm32f10x_gpio.o

    │  │ stm32f10x_it.crf

    │  │ stm32f10x_it.d

    │  │ stm32f10x_it.o

    │  │ stm32f10x_rcc.crf

    │  │ stm32f10x_rcc.d

    │  │ stm32f10x_rcc.o

    │  │ stm32f10x_usart.crf

    │  │ stm32f10x_usart.d

    │  │ stm32f10x_usart.o

    │  │ sys.crf

    │  │ sys.d

    │  │ sys.o

    │  │ system_stm32f10x.crf

    │  │ system_stm32f10x.d

    │  │ system_stm32f10x.o

    │  │ usart.crf

    │  │ usart.d

    │  └ usart.o

    ├ STM32F10x_FWLib

    │  ├ inc

    │  │  │ misc.h

    │  │  │ stm32f10x_adc.h

    │  │  │ stm32f10x_bkp.h

    │  │  │ stm32f10x_can.h

    │  │  │ stm32f10x_cec.h

    │  │  │ stm32f10x_crc.h

    │  │  │ stm32f10x_dac.h

    │  │  │ stm32f10x_dbgmcu.h

    │  │  │ stm32f10x_dma.h

    │  │  │ stm32f10x_exti.h

    │  │  │ stm32f10x_flash.h

    │  │  │ stm32f10x_fsmc.h

    │  │  │ stm32f10x_gpio.h

    │  │  │ stm32f10x_i2c.h

    │  │  │ stm32f10x_iwdg.h

    │  │  │ stm32f10x_pwr.h

    │  │  │ stm32f10x_rcc.h

    │  │  │ stm32f10x_rtc.h

    │  │  │ stm32f10x_sdio.h

    │  │  │ stm32f10x_spi.h

    │  │  │ stm32f10x_tim.h

    │  │  │ stm32f10x_usart.h

    │  │  └ stm32f10x_wwdg.h

    │  └ src

    │     │ misc.c

    │     │ stm32f10x_adc.c

    │     │ stm32f10x_bkp.c

    │     │ stm32f10x_can.c

    │     │ stm32f10x_cec.c

    │     │ stm32f10x_crc.c

    │     │ stm32f10x_dac.c

    │     │ stm32f10x_dbgmcu.c

    │     │ stm32f10x_dma.c

    │     │ stm32f10x_exti.c

    │     │ stm32f10x_flash.c

    │     │ stm32f10x_fsmc.c

    │     │ stm32f10x_gpio.c

    │     │ stm32f10x_i2c.c

    │     │ stm32f10x_iwdg.c

    │     │ stm32f10x_pwr.c

    │     │ stm32f10x_rcc.c

    │     │ stm32f10x_rtc.c

    │     │ stm32f10x_sdio.c

    │     │ stm32f10x_spi.c

    │     │ stm32f10x_tim.c

    │     │ stm32f10x_usart.c

    │     └ stm32f10x_wwdg.c

    ├ SYSTEM

    │  ├ delay

    │  │  │ delay.c

    │  │  └ delay.h

    │  ├ sys

    │  │  │ sys.c

    │  │  └ sys.h

    │  └ usart

    │     │ usart.c

    │     └ usart.h

    └ USER

       │ IIC.map

       │ IIC.uvguix.Administrator

       │ IIC.uvguix_Administrator.bak

       │ IIC.uvoptx

       │ IIC.uvprojx

       │ IIC_Target 1.dep

       │ IIC_uvoptx.bak

       │ IIC_uvprojx.bak

       │ JLinkLog.txt

       │ JLinkSettings.ini

       │ main.c

       │ startup_stm32f10x_hd.lst

       │ stm32f10x.h

       │ stm32f10x_conf.h

       │ stm32f10x_it.c

       │ stm32f10x_it.h

       │ system_stm32f10x.c

       └ system_stm32f10x.h

TAGMS5611
  • 9 次
  • 1 分