Here's Arduino code: // Create a union to easily convert float to byte. typedef union{. float number;. uint8_t bytes[4];. } FLOATUNION_t;.
確定! 回上一頁