Please wait while we prepare your presentation...

Programming the SIB™


Introduction
SiB™ vs SID mode
Programs in SiB™ mode
Programs in SID mode

Commands
A - Z
Configuration
Programming
Time
GPIO
Sensor
Messaging


DEBUG
This command enables or disables debug messaging.

FN
This command allows you to create and manage functions.

FN LIST
This command lists all currently configured functions.

FN PRINT
This command outputs the program code stored for the given function.

FN DEL
This function deletes the specified function.

HALT
Shuts down a SID as though it had reached the end of a SiB™ (button-mode) program.

IF
This function executes code conditionally, depending on a given variable's value.

INIT
This function initializes a variable to the given value if the variable does not already exists.

LOOP
This function should only be used in a PROG or FUNCTION block.

NOTIFS
Enables and disables polling for new commands.

PAUSE
Pauses the execution of the current running program or function.

PRE
Example: PRE temp mytemp

PREW
This will execute a command on the next SiB™ reset, prior to WIFI starting. This is useful when accessing GPIO's on the ADC2.

POST
Instructs the SiB™ to connect to WiFi when used in a PREW program. See PREW for more details.

PROG
This function allows you to create or manage programs.

PROG LIST
Lists all stored programs.

PROG DEL
Deletes the specified program by name, or all programs if an asterisk * is specified. This function provides no warning or confirmation

PROG PRINT
Outputs the program code for the named program, or, if no program is specified, for the current running program.

PROG LOAD
Loads the program specified.

RESET
This function resets the SiB™.

RESUME
This function resumes a paused program.

RUN
Runs a program.

RUNEX
Runs a program in exclusive mode.

RUNFN
Runs a function.

SET
Allows the execution of mathematical equations in running programs.

STATUS
Echos back to SIMP™ the current status of the SiB™.

STOP
Stops the running function, program or sleep.

WAKE
Remains in deep sleep with short WiFi scans and wakes if a specific SSID is found.