Passing Values between C App and PHP
| From: | Tobias Krieger | Date: | Sun, 21 Jun 2009 21:25:38 +0000 |
| Subject: | Passing Values between C App and PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-294393@lists.php.net to get a copy of this message | ||
Hi,
I've recently written an eMail regarding I2C and PHP - since I haven't found a nice solution yet, I'm considering writting the I2C part (opening device, writing, reading,...) in C (that's simple) and to recieve (and returning) the values through PHP and Javascript.
E.g. Website (PHP/Javascript) -> set a new motorspeed -> PHP passes the new speed to C Application -> C AP opens and writes the new speed onto the I2C Bus -> Motor executes -> returns ack ->----
Is this somehow, and not complicated possible?
Thanks,
Tobias