interfacing a temperature sensor | Cypress Semiconductor
interfacing a temperature sensor
Iam trying to interface a temperature sensor to the CY8CKIT-050. however, there is a problem with the software below.
sprintf(str, "%+1.4f", T); //pretty sure the problem lies here :)
the project consists of a LCD and a temperature sensor. the PSOC5 reads the output from the sensor and displays it on the LCD.
I did some debugging, triple checked the connections, checked the LCD and it's working. but I am quite sure that the problem lies in the sprintf function.