Examples

» Potentiometer

read

How to send potentiometer values through serial port


read

How to send potentiometer values through Bluetooth


scaleTo

How to scale potentiometer values


» LDR

read

How to send LDR values through serial port


read

How to send LDR values through Bluetooth


scaleTo

How to scale LDR values


» Buzzer

playTone

How to play tones on the buzzer


» RGB LED

on - off

How to switch on and off the RGB LED


setColor

How to set the LED color using a HEX value


setColor

How to set the LED color using a RGB value


setIntensity

How to set the brightness of the LED


toggle

How to toggle the current state of the LED


» LED Matrix

print

How to display a scrolling text message on the LED matrix


print

How to display a pattern on the LED matrix


printInLandscape

How to display a number in landscape mode