Serial communication via USB device
Posted: Wed Dec 03, 2008 12:21 am
I have a Matrix orbital LCD module attatched to a USB-I2C translation module. This is plugged into a USB port on my Windows box. I have a piece of driver software for the translation module installed on my box. This driver makes the USB interface look like a regular serial port.
With other demo software I have proved to myself that this setup works.
However, I do not seem to be able to communicate with the LCD using RR.
Here is the code I am using;
open driver "com7:" for update
put the result into field "fldMsg"
#following are dec values for I2C control of Matrix orbital LCD (clear screen)
write numtochar(80) to driver "com7:"
write numtochar(254) to driver "com7:"
write numtochar(88) to driver "com7:"
close driver "com7:"
There is a small led on the translation module that flashes with the demo software but does not with the RR code.
Any ideas?
Jeff
With other demo software I have proved to myself that this setup works.
However, I do not seem to be able to communicate with the LCD using RR.
Here is the code I am using;
open driver "com7:" for update
put the result into field "fldMsg"
#following are dec values for I2C control of Matrix orbital LCD (clear screen)
write numtochar(80) to driver "com7:"
write numtochar(254) to driver "com7:"
write numtochar(88) to driver "com7:"
close driver "com7:"
There is a small led on the translation module that flashes with the demo software but does not with the RR code.
Any ideas?
Jeff