184
Platforms
©2000-2008 Tibbo Technology Inc.
-
dot-decimal value --> dot-decimal string
-
dot-decimal string --> dot-decimal value
Date and time serialization and de-serialization:
-
given year, month, and date --> day number;
-
given hours and minutes --> minute number;
-
given day number --> year;
-
given day number --> month;
-
given day number --> date;
-
given day number --> day of the week;
-
given minutes number --> hours;
-
given minutes number --> minutes.
Hash calculation and related functions:
-
calculates MD5 hash of a string;
-
calculates SHA-1 hash of a string;
-
generates a random string;
Miscellaneous
-
checks the validity of a real value.
8.1.7.3
LED Signals
BASIC-programmable devices supplied by Tibbo have two pairs of LEDs and/or
control lines for external LEDs. The first pair is comprised of green and red status
LEDs (SG and SR LEDs or lines), the second pair -- of green and yellow Ethernet
status LEDs (EG and EY LEDs or lines).
Status LEDs have multiple functions:
When the device is in the serial upgrade mode, these LEDs indicate the status of
firmware upload process.
When the device is under TiOS firmware control and Tibbo BASIC application is
not running, these LEDs show current Tibbo BASIC application status.
When the Tibbo BASIC application is running, status LEDs are under the control
of
object (see <%T-B-P-G%>).
The following table summarizes predefined status LED patterns:
Serial upgrade mode
Green LED blinks slowly
File upload completed successfully.
One long and one short
"blink" of red LED
Communications error encountered
during the serial file transfer.
One long and two short
"blinks" of red LED
FLASH memory failure.
Normal operation, Tibbo BASIC application not running
Fast-blinking GRGRGR...
pattern
TiOS firmware not loaded or corrupted.
192
193
192
203
211
204
191
211
195
203
201
205
205
190
384