Command UART hexadecimal

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
cb28
Posts: 17
Joined: Thu Jun 04, 2015 12:25 pm
Has thanked: 5 times
Been thanked: 2 times

Command UART hexadecimal

Post by cb28 »

Bonjour,

Je demande comment envoyer et recevoir des commandes via UART en hexadécimal ?
Merci d'avance pour vous réponse.

Google translation :

Hello,

I ask how to send and receive commands via UART in hexadecimal?
Thank you in advance for your reply.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Command UART hexadecimal

Post by Benj »

Hello,

I think this video will help explain things if you need to do things like parse/generate ASCII hex strings.

https://www.youtube.com/watch?v=gavpYt-SqcY&t=127s

For just hex values as bytes they can simply be represented as decimal 0 to 255 or hex 0x00 to 0xFF or binary 0b00000000 to 0b11111111 they are all one in the same on the micro and Flowcode.

Some examples here.

http://www.matrixtsl.com/wikiv7/index.p ... ccfa4c5efc

cb28
Posts: 17
Joined: Thu Jun 04, 2015 12:25 pm
Has thanked: 5 times
Been thanked: 2 times

Re: Command UART hexadecimal

Post by cb28 »

Thank you very much for the links. :D

Post Reply