Serial comms over USB
James P (8860) 4 posts |
Hi Guys, |
Timo Hartong (2813) 204 posts |
First question does it have a driver so it reports as an serial port under RISC-OS ?. Check with Filer_OpenDir devices:$ does it show ? No first that working OS_Byte will certainly not work because that only works with the first serial port. If it show best is to treat it as a file. |
James P (8860) 4 posts |
Thanks, |
Rick Murray (539) 13840 posts |
Go to the command line and do You should see the device identified as something like Prolific Technology Inc. USB-Serial Controller (that’s mine). If this is the case, then try SerialUSB available from http://ftpc.iconbar.com/usb/index.html There’s an example in using it, but, yes, essentially you:
There’s an example provided. It’s in C, but it’s pretty clearly written so ought to be enough to get you started if you’re using BASIC. |
Colin Ferris (399) 1814 posts |
I wonder what the USB serial device is? |
James P (8860) 4 posts |
Thanks again! |
Jean-Michel BRUCK (3009) 359 posts |
Hi, For the TinySa, it must be able to work in console mode with hearsay? |
James P (8860) 4 posts |
Woohoo! We’re making progress… sort of! |