LedSign->initialize()

Description

Initializes the sign for use by the API. The function needs to be called on two ocurrences:

  • When starting to use the sign with the PHP API for the first time.

  • After accessing the sign with the Sigma software that ships with it.

Note: You should generally not call this function if it is not needed, because it writes to the Flash memory of the sign and making a lot of writes on it may shorten its life. This may happen if you use the sign for displaying some rapidly changing data and call the initialize function each time you change the text on the sign.

Parameters

None.

Return value

Returns nothing.

Example

<?
 
require_once('LedSign.php');
 
$ledSign = new LedSign('192.168.0.12');
$ledSign->initialize();
 
?>


Leave a Reply