2019-07-08 05:31 AM
Dear Members,
How can I pass float value from RPM to UART buffer
float ==> (uint8_t*)&aTxBuffer8 ?
(uint8_t*)&aTxBuffer8 = snprintf(str_rpm,sizeof(str_rpm),"%f",rpm);
?
Thanks
2019-08-19 11:31 PM
Is it working, or do you ask these things rhetorically?
Pointer and length, check those.