send character to shell script


hi all,  
i have bash shell script, listens character key presses, , various things take photos,
create streams, , push files server. works fine.  unfortunately cannot deploy keyboard in project due constraints.  e.g: being used children.

so, want have arduino send characters computer listening shell script.
but, i'm not sure how make shell script listen arduino. see there serial port, , device /dev/acm0
but not sure how read data comming in arduino.

can give me example or tutorial of how pass characters shell script arduino?

there no "pass chars xxxxx". arduino writes serial port , ever @ other end reads serial/comms port. arduino not know (if anything) reading data sends nor care. same sending data arduino not care sending data or came from.

mark


Arduino Forum > Using Arduino > Programming Questions > send character to shell script


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support