Write a program that, when executed, opens the serial port, sends the command, then closes it and exits. Use the external apps functionality in MediaEngine to run that program on demand.
You could even save time by writing the program to take the command-line argument and send THAT to the serial port.



LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks