I am trying to use the UART over the DB15 connector on the LabJack U6 via Python (rather than the screw connectors)
My initial Python code is as follows:
import u6 d = u6.U6() d.configU6() d.getCalibrationData() d.configTimerClock() d.asynchConfig(DesiredBaud=9600) txBytes = [116, 101, 115, 116, 13, 10] #"test\r\n" d.asynchTX(txBytes)
This code works great for UART over FIO0 and FIO1.
Unfortunately, I can't figure out what the command would be to offset the RX and TX lines to use EIO0 and EIO1 (on the DB15 connector).
I tried initializing timers and using the timer offsets. ie: variations of:
d.configIO(NumberTimersEnabled = 0, TimerCounterPinOffset = 8)
But when I run the following:
PinOffset is still zero.
How can I go about shifting the Tx and Rx pins in Python so that they are on the DB15 connector rather than the screw terminals?
Thanks in advance!