Getting started
This is quick introduction for getting started with the library. Basic knowledge of PHP is assumed.
Note: 1 and 2 apply only to a new sign. If your sign has been in use, you need to figure out the ip address of the sign with the Sigma software.
- Download the library zip and extract it into a folder inside your webroot.
- Connect a computer to the sign with an Ethernet cable.
- Turn the sign on. Write down the ip address that appears
on the sign. - Open the file initialize.php, and change the ip address to the ip address of the sign.
- Run the script initialize.php. You can do this from the command line or by pointing your browser to the script.
- On the led sign, the text “init ok” should now appear.
- Open the script hello.php and change the ip address to the ip address of your sign.
- The text “Hello World” should now appear.
<? require_once('LedSign.php'); $ledSign = new LedSign('192.168.0.213'); // change ip address here $ledSign->initialize(); ?>
<? require_once('LedSign.php'); $ledSign = new LedSign('192.168.0.213'); // change ip address here $ledSign->setText("Hello World"); ?>
February 1st, 2009 at 6:28 am
hi..
when I try to run initialize.php i got an error
Warning: file_get_contents(SEQUENT.SYS) [function.file-get-contents]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\LED\LedSign.php on line 359
would you like to inform, the cause of this error? tks
February 8th, 2009 at 9:46 pm
asp: Looks like php is unable to find the file SEQUENT.SYS from your include path. You need to post some code and information on how files are located to solve the problem. Which version of php are you using?