You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
855 B
40 lines
855 B
7 years ago
|
#######################################
|
||
|
# Syntax Coloring Map for AFMotor
|
||
|
#######################################
|
||
|
|
||
|
#######################################
|
||
|
# Datatypes (KEYWORD1)
|
||
|
#######################################
|
||
|
|
||
|
Adafruit_MotorShield KEYWORD1
|
||
|
Adafruit_DCMotor KEYWORD1
|
||
|
Adafruit_StepperMotor KEYWORD1
|
||
|
|
||
|
#######################################
|
||
|
# Methods and Functions (KEYWORD2)
|
||
|
#######################################
|
||
|
|
||
|
enable KEYWORD2
|
||
|
run KEYWORD2
|
||
|
setSpeed KEYWORD2
|
||
|
step KEYWORD2
|
||
|
onestep KEYWORD2
|
||
|
release KEYWORD2
|
||
|
getMotor KEYWORD2
|
||
|
getStepper KEYWORD2
|
||
|
setPin KEYWORD2
|
||
|
setPWM KEYWORD2
|
||
|
|
||
|
#######################################
|
||
|
# Constants (LITERAL1)
|
||
|
#######################################
|
||
|
|
||
|
MICROSTEPPING LITERAL1
|
||
|
FORWARD LITERAL1
|
||
|
BACKWARD LITERAL1
|
||
|
BRAKE LITERAL1
|
||
|
RELEASE LITERAL1
|
||
|
SINGLE LITERAL1
|
||
|
DOUBLE LITERAL1
|
||
|
INTERLEAVE LITERAL1
|
||
|
MICROSTEP LITERAL1
|