Input Lag LK204-7T-1U
Posted: Fri Sep 07, 2018 1:12 am
Hello Matrix Orbital Team,
i need help with button input from LK204-7T-1U USB-Serial to a CentOS virtual machine. I used the C++ Input/Output example on your website and altered it to fit for linux. I edited the polling to be able to show in real time when pressing a button, showing me which button is pressed. The problem i'm having is that it works the first time maybe even the second, but when exiting (closing the lcd) and recompiling and starting it again, it simply doesnt work at all. It seems like something is on sleep or blocking the transmission. Could you maybe provide me with information on how to correctly setting up the serial port on linux to get real time input? I even executed the command: "setserial /dev/<tty_name> low_latency" to minimize the latency. If you need further information please tell me.
Greetings
i need help with button input from LK204-7T-1U USB-Serial to a CentOS virtual machine. I used the C++ Input/Output example on your website and altered it to fit for linux. I edited the polling to be able to show in real time when pressing a button, showing me which button is pressed. The problem i'm having is that it works the first time maybe even the second, but when exiting (closing the lcd) and recompiling and starting it again, it simply doesnt work at all. It seems like something is on sleep or blocking the transmission. Could you maybe provide me with information on how to correctly setting up the serial port on linux to get real time input? I even executed the command: "setserial /dev/<tty_name> low_latency" to minimize the latency. If you need further information please tell me.
Greetings