Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float fval = 1.475;
- byte* array = (byte*) &fval;
- void setup ()
- {
- Serial.begin (9600);
- for (int i = 0; i < 4; ++i) {
- Serial.println (array [i], HEX);
- }
- }
- void loop ()
- {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement