Get Started
Code
API
ChangeLog
Sensorium API
v0.3.7
Classes
AnalogGPIO
Members
SUPPORT
protocol
Methods
getData
BaseEncoderMotor
Members
protocol
Methods
offsetAngle
run
setReverse
setStop
speed
BaseGyro
Members
protocol
Methods
axis
getData
BaseLedMatrix
Members
protocol
Methods
clear
run
BaseLight
Methods
getData
BaseMotor
Methods
run
setStop
speed
BaseRgbLed
Methods
b
blue
g
green
position
r
red
rgb
run
turnOff
turnOffAll
turnOn
turnOnAll
white
BaseSound
Members
protocol
Methods
getData
Buzzer
Members
SUPPORT
protocol
Methods
beat
hz
run
tone
Compass
Members
SUPPORT
protocol
Methods
getData
DcMotor
Members
SUPPORT
protocol
Methods
run
setReverse
setStop
speed
DigGPIO
Members
protocol
Methods
getData
DoubleGPIO
Members
protocol
Methods
getData
EncoderMotor
Members
protocol
Methods
offsetAngle
run
setReverse
setStop
speed
EncoderMotorOnBoard
Members
protocol
Methods
offsetAngle
readAngle
readSpeed
run
setReverse
setStop
speed
EncoderMotorOnBoardPID
Members
protocol
Methods
setZeroPoint
Flame
Members
protocol
Methods
getData
FourKeys
Members
protocol
Methods
getData
key
FourLeds
Methods
b
blue
g
green
position
r
red
rgb
run
turnOff
turnOffAll
turnOn
turnOnAll
white
Gas
Members
protocol
Methods
getData
GPIOContinue
Members
protocol
Methods
getData
Gyro
Members
protocol
Methods
axis
getData
GyroOnBoard
Members
protocol
Methods
axis
getData
Humiture
Members
protocol
Methods
getData
readHumidity
readTemperature
Infrared
Members
protocol
Methods
getData
InfraredOnBoard
Members
protocol
Methods
getData
Joystick
Members
protocol
Methods
getData
LedMatrix
LedMatrixChar
Members
protocol
Methods
char
clear
content
run
x
y
LedMatrixEmotion
Members
protocol
Methods
clear
content
emotion
run
x
y
LedMatrixNumber
Members
protocol
Methods
clear
content
number
run
LedMatrixTime
Members
protocol
Methods
clear
content
hour
minute
run
separator
Light
Methods
getData
LightOnBoard
Methods
getData
LimitSwitch
Members
protocol
Methods
getData
LineFollower
Members
protocol
Methods
getData
Pirmotion
Members
protocol
Methods
getData
Potentionmeter
Members
protocol
Methods
getData
Reset
Members
protocol
Methods
reset
RgbLed
Methods
b
blue
g
green
position
r
red
rgb
run
turnOff
turnOffAll
turnOn
turnOnAll
white
RgbLedOnBoard
Methods
b
blue
g
green
position
r
red
rgb
run
turnOff
turnOffAll
turnOn
turnOnAll
white
Runtime
Members
protocol
Methods
getData
ServoMotor
Members
protocol
Methods
angle
run
setToEnd
setToStart
SevenSegment
Members
protocol
Methods
number
run
Shutter
Members
protocol
Methods
action
run
SmartServo
Members
protocol
Methods
absoluteAngle
backToStart
getData
handshake
ledColor
lock
readAngle
readCurrent
readSpeed
readTemperature
readVoltage
relativeAngle
run
setAsDCMotorSpeed
setZeroPoint
speed
unclock
Sound
Members
protocol
Methods
getData
SoundOnBoard
Members
protocol
Methods
getData
StepperMotor
Members
protocol
Methods
direction
distance
reverse
run
setStop
speed
Temperature
Members
protocol
Methods
getData
TemperatureOnBoard
Members
protocol
Methods
getData
Touch
Members
protocol
Methods
getData
Transport
Ultrasonic
Members
protocol
Methods
getData
VirtualJoystick
Members
protocol
Methods
leftSpeed
rightSpeed
run
setStop
speed
VirtualJoystickForBalance
Members
protocol
Methods
run
setReverse
setStop
speed
turnRange
Namespaces
Sensorium
Members
SUPPORT
Methods
create
doReceived
read
readFirmwareInfo
send
setSender
Transport
()
new
Transport
()
communicate/transport.js
,
line 9
Create a command.