Hi
I have write a smal sample, that can explain the bug.
The bug is in the call "ReadAsVoltage"
If you replace the 0.01 in the call "fVoltage = float32_mul(fVoltage, 0.01);" with integer number and the 0.000976 in the call "fVperDiv = float32_mul(fVoltage, 0.000976);" with integer number the complier ends successful.
You can see this in the attachment
Big bug with ADC
Moderator: Benj
- Steve
- Matrix Staff
- Posts: 3434
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: Big bug with ADC
This is a problem with the BETA installation of Flowcode v4.5 that you have. The error is in the BoostC compiler and has been fixed. You will need to wait for the actual release of V4.5 for this update.