User Manual
command C equivalent description
BITWISE_AND & applies the boolean AND function to corresponding bits of the arguments
BITWISE_OR | applies the boolean OR function to corresponding bits of the arguments
BITWISE_XOR ^ applies the boolean XOR function to corresponding bits of the arguments
DIVIDE / divides the arguments
EQUALS = true if and only if the arguments are equal
GREATER_THAN > true if and only if the first argument is greater than the second
LESS_THAN < true if and only if the first argument is less than the second
LOGICAL_AND && true if and only if both arguments are true
LOGICAL_OR || true if and only if at least one argument is true
MAX none selects the greater of the two arguments
MIN none selects the lesser of the two arguments
MINUS – subtracts the arguments
MOD % computes the remainder on division of the first argument by the second
NOT_EQUALS != true if and only if the arguments are not equal
PLUS + adds the arguments
SHIFT_LEFT <<
shifts the binary representation of the second argument to the left by a number
of bits given in the second argument (without wrapping)
SHIFT_RIGHT >>
shifts the binary representation of the first argument to the right by a number
of bits given in the second argument (without wrapping)
TIMES * multiplies the arguments
Pololu Maestro Servo Controller User's Guide © 2001–2014 Pololu Corporation
6. The Maestro Scripting Language Page 55 of 73