We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Recientemente avance la programación del STM32L432KC mediante Keil uVision5, ahora requiero conectar un sensor de humedad y medir los datos, aun soy principiante y no se q como conseguir las librerías para esto. Ayúdenme por favor :)
Hello, I have moved your query to the Keil forum.
However you are likely to find a better audience for your question on the ST Community forum:
https://community.st.com/t5/stm32-mcus-products/bd-p/stm32-mcu-products-forum
For example:
https://community.st.com/t5/stm32-mcus-products/has-anyone-try-to-dht11-or-dht22-with-stm32f7-or-stm32h7/m-p/150295
Note that the DHT22 uses a proprietary serial interface over a single wire - so you will (almost?) certainly have to bit-bang it.
Therefore, that should be easy to port to/from any other microcontroller - the only bits specific to the microcontroller would be:
And none of that is specific to Keil.
A good place to search for source code is GitHub; eg,
Note that there is an Arduino core for STM32:
https://github.com/stm32duino
https://www.arduino.cc/reference/en/libraries/stm32duino-examples/