Hi, I need to save a FLOAT value in a EEPROM. But for that I must break the float in 4 CHAR. I dont want to mask and shift, I prefer something more fency. Is there a way using the STRUCT and UNION to be able to access each BYTE in a FLOAT ? I don't know the syntax. Anyone could help ?
NEVERMIND... I FOUND how to do it !
http://www.keil.com/forum/docs/thread5275.asp