Manju Bhargavi V L

MCF52259 - ADC calculations

Discussion created by Manju Bhargavi V L on May 28, 2010
Latest reply on May 28, 2010 by Stan Chernikov

Hi,

 

I am currently working on MCF52259 ADC module. I am using an filtering equation to conver the raw value scanned to filter value. But the filtering equation returns the value in float which should be sent to Master via a 16 bit register. I have the following doubts now

 

1) can we declare float variables in micro controller programming?

2) How do i transfer the converted float value to master using 16 bit register?

 

Looking forward for the help

 

Regards

sai bhargavi

Outcomes