eepj / SHT2x_for_STM32_HAL

An STM32 HAL library for the SHT2x temperature/humidity sensor series.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SHT2x_for_STM32_HAL

An STM32 HAL library for the SHT2x temperature/humidity sensor series. Tested on an SHT20.

To test

  • Minimal setup:
                                             _________
                                    N/C 4 --| |_____| |-- 3 N/C
                                    VDD 5 --|         |-- 2 GND
                                   SDA1 6 --|_________|-- 1 SCL1
                                   

Known issues

  • Replaced binary values with hexadecimal for compatibility with Keil.
  • Moved user I2C handle definition from .h header to .c file to prevent multiple definition error. Made definition in .h header extern.

About

An STM32 HAL library for the SHT2x temperature/humidity sensor series.

License:MIT License


Languages

Language:C 100.0%