I'm trying to use a XT1144 with USB-C serial control of a USB_S3_16x16 controller from HMS Electronics. Basically, an attract video plays. When a user pushes a button, an associated video plays, the button LED lights up, when the video is done, the attract starts playing again and the LED turns off. Nothing fancy.
I'm struggling getting the communication over serial. The attract video plays, but button presses do nothing. On bootup, the LEDs do lightup for a split second, so I believe my wiring is correct.
I'm using port 2 for the interactive presentation properties.
I have a serial input event to trigger video 1 playing.
If I plug the board into my laptop, and use putty to listen to incoming messages, the buttons do correctly send bytes. i.e. button 1 sends "1" and button 2 sends "2".
I also added a command to the serial input event to trigger the LED to turn on associated with that video file.
Then, after the video plays, I send a command to turn off the lights on the arcade buttons:
According to the board manufacturer, these are the codes I use to control the LEDs:
- To turn LED 1 on, send "1"
- To turn LED 2 on, send "2"
- To turn LED 3 on, send "4"
- To turn LED 4 on, send "8"
- To turn LED 5 on, send "16"
- To turn LED 6 on, send "32"
- To turn LED 7 on, send "64"
- To turn LED 8 on, send "128"
- To turn LED 9 on, send "0,1"
- To turn LED 10 on, send "0,2"
- To turn LED 11 on, send " 0,4"
- To turn LED 1 on, send "0,8"
- To turn off all LEDs, send "0"
- To turn on both LEDs 1 and 8, send "129" (which is 1 + 128)
- To turn on all LEDs, send "255,255"
I'm using BrightAuthor 220.127.116.11. I have updated the firmware on the XT4. I've tried publishing the SD card on both Windows 7 and Mac Mojave via Parallels 14.
Anyone have any suggestions? Is port 2 the correct port for USB serial communication?