typedef union mine{
uint32_t x;
float y;
}my_type;
void setup() {
Serial.begin(9600);
}
void loop() {
my_type z;
z.y = 1.23;
Serial.println(z.x, BIN);
while(1);
}
typedef union mine{
uint32_t x;
float y;
}my_type;
void setup() {
Serial.begin(9600);
}
void loop() {
my_type z;
z.y = 1.23;
Serial.println(z.x, BIN);
while(1);
}