lgeorge123
Full Member level 2
- Joined
- Jun 13, 2004
- Messages
- 130
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,296
- Location
- Hong Kong
- Activity points
- 1,403
I have a c code from TI CCS as follows:
float Ic;
lc=(float) (AIC23_data.channel
float Ic;
lc=(float) (AIC23_data.channel
);
it convert LEFT channel of ADC to float number , how can I do this in like Convert function ( C format )other than TI CCS such as
float Ic;
byte Adcvalue = { 1,1,1,0,0,1,1,0}; // from 8 bit ADC value
float Convert(byte value);
Ic (float) = Convert(Adcvalue);
it convert LEFT channel of ADC to float number , how can I do this in like Convert function ( C format )other than TI CCS such as
float Ic;
byte Adcvalue = { 1,1,1,0,0,1,1,0}; // from 8 bit ADC value
float Convert(byte value);
Ic (float) = Convert(Adcvalue);