This is example of using rotor-light for STM32 MCU to get temperature and humility values from DHT11 and use UART for logging.