high
|
Switch an output pin on
|
low
|
Switch an output pin off
|
toggle
|
Change an output pin between on and off
|
backward
|
Drive a motor backwards
|
forward
|
Drive a motor forwards
|
halt
|
Halt a motor
|
sound
|
Generate simple sounds
|
play
|
Play a pre-defined musical tune
|
tune
|
Play a sequence of musical notes
|
servo
|
Control a servo
|
servopos
|
Set the position of a servo
|
irin
|
Receive an infra-red command
|
irout
|
Generate an infra-red command
|
rfin
|
Receive data from an RF receiver module
|
rfout
|
Send data to an RF transmitter module
|
pwmout
|
Generate a continuous PWM signal
|
pwmduty
|
Set the duty ratio of a PWM signal
|
if pin
|
Respond to the state of an input signal
|
count
|
Count pulses detected on an input pin
|
pulsin
|
Measure the length of a pulse on an input pin
|
pulsout
|
Generate a pulse on an output pin
|
input
|
Set a pin for receiving input
|
output
|
Set a pin to produce an output signal
|
reverse
|
Toggle a pin between input and output use
|
pullup
|
Set internal pull-ups for input pins
|
inputtype
|
Select the electrical characteristics of an input pin
|
infrain
|
Receive an infra-red command
|
infrain2
|
Receive an infra-red command
|
infraout
|
Generate an infra-red command
|
pwm
|
Generate a PWM output signal
|
switch
|
Switch an output on or off
|
button
|
Detect and debounce a button push
|
high portc
|
Switch a Port C output on
|
low portc
|
Switch a Port C output off
|
readoutputs
|
Determine previously set output levels
|
readportc
|
Read Port C inputs
|