PSOC 5.3 Example Projects | Cypress Semiconductor
PSOC 5.3 Example Projects
In the example projects, specifically the ADCINC and ADC10 projects,
you use floating point math to display the voltage read on the LCD.
I would like to suggest you do these in integer math, because of the cost
of the float library in code space, especially in light of the the ADC10 project
using a CY21xxx part. Do the calcs in mV and then display as a float repre-
sentation by acting/formatting on the ltoa() or itoa() output appropriately.