Dec 16, 2012
01:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 16, 2012
01:13 PM
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.
Regards, Dana.
0 Replies