Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years ago.
I'm traing to get Temperature and Humidity ftorm HTS221 via USB on terminal
Hello. In main I have two libralys, one is HTS221 os link: https://os.mbed.com/teams/ST/code/HTS221/ and L152RE_USBDevice libraly on link: https://os.mbed.com/users/va009039/code/L152RE_USBDevice_example/.
I'm trying to get id, Temp, and Hum over usb to terminal but all I get is 0 for Hum and Temp, but for id I get different values, depends if I try to printf Hum and Temp together or just one of them.
Maybe is problem that I didn't conect DRDY pin of HST221 to nowhere but program demands it? or there is some other failure.
Thank you for answer.