• analogRead
    pin

    The analogRead command returns the value of a analog pin.

  • analogWrite
    pin
    value

    The analogWrite command sets the value of an analog pin.

  • break

    The break command breaks out of the current code block (if,repeat,forever)

  • buttonPressed
    pin

    The buttonPressed command returns true or false.

  • delay
    milliseconds

    The delay command pauses program execution.

  • digitalRead
    pin

    The digitalRead command returns the value of a digital pin.

  • digitalWrite
    pin
    state

    The digitalWrite command sets the value of a digital pin.

  • motorOff
    motor

    The motorOff command turns off a motor.

  • motorOn
    motor
    direction

    The motorOn command turns on a motor and sets its direction.

  • motorSpeed
    motor
    speed

    The motorSpeed command sets the speed of a motor

  • pinMode
    pin
    mode

    The pinMode command determines whether a pin is an output or an input

  • playNote
    speaker
    note
    time

    The playNote command plays a note on a speaker.

  • print
    target
    data

    The print command prints most data types to a screen or serial port.

  • printLine
    target
    data

    The printLine command prints most data types to a screen or serial port while triggering a new line.

  • randomNumber
    min
    max

    The randomNumber command returns a random number between a minimum and maximum value.

  • readKnob
    pin

    The readKnob command returns the value of a knob connected to an analog pin.

  • setAngle
    servo
    angle

    The setAngle command sets the angle of a servo motor.

  • setColor
    LED
    color

    The setColor command sets the color of an RGB LED.

  • setLED
    LED
    state

    The setLED command sets the value of an LED.

  • switchedOn
    switch

    The switchedOn command returns true if the switch is closed.

  • analogRead( pin, )

    The analogRead command returns the value of a analog pin.

  • analogWrite( pin, value, )

    The analogWrite command sets the value of an analog pin.

  • break( )

    The break command breaks out of the current code block (if,repeat,forever)

  • buttonPressed( pin, )

    The buttonPressed command returns true or false.

  • delay( milliseconds, )

    The delay command pauses program execution.

  • digitalRead( pin, )

    The digitalRead command returns the value of a digital pin.

  • digitalWrite( pin, state, )

    The digitalWrite command sets the value of a digital pin.

  • motorOff( motor, )

    The motorOff command turns off a motor.

  • motorOn( motor, direction, )

    The motorOn command turns on a motor and sets its direction.

  • motorSpeed( motor, speed, )

    The motorSpeed command sets the speed of a motor

  • pinMode( pin, mode, )

    The pinMode command determines whether a pin is an output or an input

  • playNote( speaker, note, time, )

    The playNote command plays a note on a speaker.

  • print( target, data, )

    The print command prints most data types to a screen or serial port.

  • printLine( target, data, )

    The printLine command prints most data types to a screen or serial port while triggering a new line.

  • randomNumber( min, max, )

    The randomNumber command returns a random number between a minimum and maximum value.

  • readKnob( pin, )

    The readKnob command returns the value of a knob connected to an analog pin.

  • setAngle( servo, angle, )

    The setAngle command sets the angle of a servo motor.

  • setColor( LED, color, )

    The setColor command sets the color of an RGB LED.

  • setLED( LED, state, )

    The setLED command sets the value of an LED.

  • switchedOn( switch, )

    The switchedOn command returns true if the switch is closed.

  • Button

    The button component is one simplest types of inputs.

  • knob

    The knob component configures a common potentiometer.

  • LCD

    The speaker component configures an LCD display.

  • LED

    The LED component configures a common LED.

  • Motor

    The motor component configures a regular DC motor. You can control the motor's speed and direction.

  • RGBLED

    The RGB LED component configures an RGB LED.

  • Servo

    The servo component configures a servo motor.

  • Speaker

    The speaker component configures a simple buzzer or speaker.