Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 1.08 KB

README.md

File metadata and controls

20 lines (17 loc) · 1.08 KB

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.