Directing serial output
- Michael Burton
- Topic Author
- Offline
Less
More
- Posts: 64
- Thank you received: 1
11 years 2 months ago #29526355
by Michael Burton
Directing serial output was created by Michael Burton
I want to send a byte stream to the TTL serial output lines.
Can I decide what output to write?
At the moment I am using the print command. I assume this will this send to the TTL serial lines and the USB.
also I need it to send arbitrary bytes. It I do not want the output to be encoded as strings.
example:
print(0xAA,0x0C,ServoCmdMove, 0x00, servo_1 and 0x7F,(servo_1 >> 7) and 0x7F, \"\\n\")\'throttle
Can I decide what output to write?
At the moment I am using the print command. I assume this will this send to the TTL serial lines and the USB.
also I need it to send arbitrary bytes. It I do not want the output to be encoded as strings.
example:
print(0xAA,0x0C,ServoCmdMove, 0x00, servo_1 and 0x7F,(servo_1 >> 7) and 0x7F, \"\\n\")\'throttle
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 4
- Thank you received: 0
9 years 10 months ago #29528063
by Hermosaltn
Replied by Hermosaltn on topic Re:Directing serial output
Good q!
(oh hi everybody, I\'m new. Not gonna spam you with a seperate \"hi i\'m new\" topic)
I really hope it can. I want to send serial data to a serial enabled LCD. (print text on there)
Anybody knows?
(oh hi everybody, I\'m new. Not gonna spam you with a seperate \"hi i\'m new\" topic)
I really hope it can. I want to send serial data to a serial enabled LCD. (print text on there)
Anybody knows?
Please Log in or Create an account to join the conversation.
Time to create page: 0.067 seconds