Posted 17 September 2013 - 06:18 PM
This seems pretty advanced, but what I'm trying to do is connect to and from Computercraft with an OSC controller such as TouchOSC. So my guess is that I'd probably have to send PHP requests when ever a button was pressed on TouchOSC, that would have information such as what button was pressed. The PHP script would then have to safe information to a save file. Computercraft would get that save file every few ticks, and check for changes. If there's a change, Computercraft would run a PHP script that would put the save file back to it's default values. Then, I want to be able to get input from Computercraft and display it on TouchOSC. Doesn't sound like the best way of doing things, but as far as I know, PHP is the only way Computercraft can communicate to the outside world. Any other suggestions?
Edit: it seems like a python script may be the way to go. I'd imagine there's a python module for OSC.
Edit: it seems like a python script may be the way to go. I'd imagine there's a python module for OSC.