PSOC 5.3 Example Projects

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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 Likes
0 Replies