Hi,
Is there an easy way to test a program that is simply reading the COM port?
Can Hyperterminal be used?
I want to send a single ASCII character from hyperterminal, receive it as a BYTE in flowcode
if BYTE = 50 (R) turn on RB1, then go back and monitor comm port again.
If BYTE = 51 (S) turn off RB1, then go back and monitor comm port again.
Should I be able to do this?
Thanks
Ron
RS232 Test
- 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: RS232 Test
Hello Ron
I have attached a very basic example that will update the LEDs on PortA with a byte value if a byte is received.
I have attached a very basic example that will update the LEDs on PortA with a byte value if a byte is received.
- Attachments
-
- RS232Test.fcf
- (4 KiB) Downloaded 369 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel