Please wait while we prepare your presentation...
Available NOW on KickStarter!

Programming the SIB™


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


Sample Programs
- Door Bell
- Emergency Button
- Freezer Monitor
- I Love You
- Lights Demo
- Magnetic Alarm
- Motion Sensor
- Sweet Dreams
- Thermometer
- Water/Moisture Sensor
- Yes or No

Commands
A - Z
Configuration
GPIO
Programming
Time
Sensor
Messaging

BUTTON
This function allows a long-running SiD or SiB program to monitor and take actions when a button press is detected. The first parameter is the letter S (for short click) or L (for long click). The second parameter is a function name. After this command is issued in a PROG, the SiB, until the next power cycle, will monitor the button for presses. When a button press is detected, the SiB will call the appropriate function.

DRIVE
Sets the maximum drive capability of a given GPIO. The default value is 2.

FL
This command returns a GPIO to floating.

FREQ
This command pulses a square frequency on any given pin, for the specified duration.

HOLD
This function holds a pin output to high or low even during deep sleep.

RA
Reads an analog value from a given pin into the given variable.

RAX
Reads a raw voltage value in MV from a given gpio into the given variable.

RD
Reads a digital value from a given pin into the given variable.

RDH
Reads a digital value from a pin with a pull-up function.

RDL
Reads a digital value from a pin with a pull-down function.

RV
This function reads the voltage level of the power source attached to GPIO 35.

WA
Outputs a pulse wave to the specified pin.

WAKEIO
Goes to sleep until a specific GPIO event is triggered.

WD
Outputs High (1) or Low (1) to the specified pin.









Live Chat