Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Change your python script to output the result as json? All you'd have to do is split on the commas in the string and print out {'res1": "I24", "res2": "0", ...} instead.Yeah I kind of figured. I was hoping it would magically split the comma separated values into variables.
I have the lumagen connected to the PI using the usb cable that came with the lumagen. The lumagen has a usb->serial connection built into the unit. So I wrote a python script that will take a command as input send it to the lumagen over the /dev/ttyUSB0 and then it will print out the result. I had tried to use the serial driver but I couldn't ever get that to work and never got a response from Allonis so I'm not sure why that didn't work( allonis.com/forum/generic-serial-driver/...-serial-driver-error ).
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.