Type Casting
Posted: Fri Nov 13, 2009 7:02 am
Hi to all,
I am getting the problem with splitting the float variable into two Bytes in the Flowcode simulation it is working but on the actual h/w the value of higher byte and lower byte are 0 and 0 respectively.I had check all the parameters like clock freq,MCU configuration.The other program are running on the same h/w
even splitting the integer in to byte is also working .Splitting the float into byte is not working.
I am getting the problem with splitting the float variable into two Bytes in the Flowcode simulation it is working but on the actual h/w the value of higher byte and lower byte are 0 and 0 respectively.I had check all the parameters like clock freq,MCU configuration.The other program are running on the same h/w
even splitting the integer in to byte is also working .Splitting the float into byte is not working.