In SX Microcontrollers, SX/B Compiler and SX-Key Tool, natpie wrote: I'm hoping someone out there can point me in the direction of a good turn key solution. I've built a camera turret and temperature probe designed to connect to a camera at my friends beach house 300 miles away. The project is controlled via serial and that portion is working great. My programing skills however are some what limited and I'm having trouble coming up with a simple low cost solution to remote com. I'm limited to a single windows box that is encoding the video from the camera. I currently can control the turret because I only need to send a serial command. I'm doing this right now by creating a text file with the serial command and then using the exec command in php sending the command "more textfile.txt >>com4". not pretty but it works solid. However I have two temperature probes connected and I've come up with now simple solution to remotely read them. they are accessed by sending at serial command at 2400 n-8-1 of "!rto" and "!rti" (read temperature outside and inside respectively" The sx responds with 13, three ascii numbers, 13. I need a simple solution to send the read temperature command and get the string back. Any pointers would be appreciated. I've included the sx source in case anyone as suggestions for modification that would make for a more simple solution. BE aware it is still a work in progress. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=290597 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)