If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Byte vs Byte
2 posts
• Page 1 of 1
Byte vs Byte
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
- Attachments
-
- Bt_Present.fsm
- (157.28 KiB) Downloaded 3780 times
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."
Albert Einstein
Albert Einstein
-
JB_AU - Posts: 171
- Joined: Tue May 21, 2013 11:01 pm
Re: Byte vs Byte
Hi JB,
YUP i would choose Hex mode (use Binary 2 Hex and vice versa)...
Here i would send a Hex 'Packet' like FF00 and FF01 or similar to switch into manual override!
Then decode/detect it on the receiver side...
YUP i would choose Hex mode (use Binary 2 Hex and vice versa)...
send a character to the port '^' (TRUE) or '$' (FALSE) depending on its state
Here i would send a Hex 'Packet' like FF00 and FF01 or similar to switch into manual override!
Then decode/detect it on the receiver side...
-
Walter Sommerfeld - Posts: 249
- Joined: Wed Jul 14, 2010 6:00 pm
- Location: HH - Made in Germany
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests