Re: [PHP] Passing Values between C App and PHP

2009-06-21 Thread Tobias Krieger
Am 21.06.2009 um 23:31 schrieb Nathan Nobbe: On Sun, Jun 21, 2009 at 3:25 PM, Tobias Krieger > wrote: 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,

[PHP] Passing Values between C App and PHP

2009-06-21 Thread Tobias Krieger
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/J

[PHP] I2C and PHP

2009-06-15 Thread Tobias Krieger
Hi, I'm working on a interface between the I2C Bus (Hardware) and PHP - to use the PHP as webinterface to control an I2C Device. The bus is mounted as: /dev/i2c8_aux - and works opening the bus with $fd=fopen (/dev/i2c8_aux, w (r+) (r+b) (wb))is successfull setting the address of the slave

[PHP] I2C, sending a binary byte with fwrite

2009-06-15 Thread Tobias Krieger
Hi, I'm working on a interface between the I2C Bus (Hardware) and PHP - to use the PHP as webinterface to control an I2C Device. The bus is mounted as: /dev/i2c8_aux - and works opening the bus with $fd=fopen (/dev/i2c8_aux, w (r+) (r+b) (wb))is successfull setting the address of the slave