Converting struct to byte and back to struct

前端 未结 4 1514
刺人心
刺人心 2021-01-31 04:21

I\'m currently working with Arduino Unos, 9DOFs, and XBees, and I was trying to create a struct that could be sent over serial, byte by byte, and then re-constructed into a stru

4条回答
  •  清歌不尽
    2021-01-31 04:47

    for(unsigned int i = 0; i which is shorthand for (*tmp).yaw
    cout << tmp->yaw; 
    }
    

提交回复
热议问题