|
foXServe: HARDWARE control from PHP scripts |
|
|
|
With foXServe is possible to control I/O a LCD Display Hitachi HD44780 or a 4 ch 8 bit A/D converter PCF8591 directly from your PHP script. We developed a set of PHP extensions that let you control logic hardware connected directly to the Fox Board with a web PHP script. | You can for example set the line 3 of port A on your fox with: <? gpioaset("1<<3"); ?> or print a string on the display with: <? lcd_printf("Hello foXServe!"); ?>
Take a look to the full command reference:
GPIO php extension
LCD php extension
I2C php extension |
| | PHP INFO OUTPUT | |  | | Related articles: I/O control from CGI under Apache |
|