Hello,
i’m trying to implement a button device to send data over /dev/ttyUSB0 by using the shell-execute plugin.
All my attemps to create a rule for sending the commands were failed.
Is there a example for using /dev/ttyUSB0 ?
-
shell-execute /dev/ttyUSB0
-
http://unix.stackexchange.com/questions/138342/how-to-read-write-to-tty-device
If this does not help please let me know which kind of data you need to send via usb and what kind of device is connected via USB? Arduino?
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
i’m using arduino as end point for receiving string commands.
now i have solveld the problem by using this rule : execute “echo rollo:0:up>/dev/ttyACM0”
…
the problem is now if i send a command, the arduino receives the string and it seems that the arduino reboots.