Byte vs Byte
Posted: Sat May 24, 2014 11:05 am
How do i send 1byte aka 8bits through the comport module?
In my model i have a string i.e. 01001101 , which to me is 8 bits or 1 byte
If i send this, by firstly choosing the manual override, the log shows 8 bytes sent
I think because it is a string, it sends 0.. 1.. 0.. 0.. 1.. 1.. 0.. 1.. , should i be using hex values as i don't see a way for byte?
Next question
I would like my override switch to send a character to the port '^' (TRUE) or '$' (FALSE) depending on its state, i can then have the mcu flip between sending or receiving states.
Exactly 1 year ago i asked for help
In my model i have a string i.e. 01001101 , which to me is 8 bits or 1 byte
If i send this, by firstly choosing the manual override, the log shows 8 bytes sent
I think because it is a string, it sends 0.. 1.. 0.. 0.. 1.. 1.. 0.. 1.. , should i be using hex values as i don't see a way for byte?
Next question
I would like my override switch to send a character to the port '^' (TRUE) or '$' (FALSE) depending on its state, i can then have the mcu flip between sending or receiving states.
Exactly 1 year ago i asked for help