Re: [3.1]How serial send 0xa5a5 so correctly received & tested in 4byte structure?
- Posted by DanM_anew Apr 08, 2014
- 1645 views
DerekParnell said...
DanM_anew said...
I think I'd need {#A,#5,#A,#5} to yield the expected 4 byte 0xA5A5 ?
Ummm ... 0xA5A5 is still a 2-byte value. Do you mean 0x0A050A05 ?
Um, I'm not sure, the structure suggested for the Arduino program said, "uint32_t syncPattern; / /4 bytes with a fixed value, e.g. 0xa5a5, marks the beginning of a header", so I'm not sure at this time. I'll have to find out more from the Arduino side.