We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have the following variable declaration:
float xdata voltage _at_ 0x08E2;
When I assign a value and try to print if I always get 0.0:
voltage = 25.5; printf( "Volatage: %#5.2f", voltage );
Ouptut
Voltage: 0.0
Is there a reason for this?
Thanks.