ME 405 Portfolio
|
Driver to be used to interact with the 12 V Linear Actuator. More...
Public Member Functions | |
def | __init__ (self) |
Configures the Linear Actuator. More... | |
def | pen_down (self) |
Places the pen down. More... | |
def | pen_up (self) |
Places the pen up. More... | |
def | lock_pen (self) |
Locks pen in place. More... | |
Public Attributes | |
EN_A | |
Creates an Enable Pin. More... | |
IN1A | |
Input 1 Pin. More... | |
IN2A | |
Input 2 Pin. More... | |
Driver to be used to interact with the 12 V Linear Actuator.
This driver manipulates the pins that are connected to the X_Nucleo IHM04A1 DC Motor Breakout Shield.
def actuator.Actuator.__init__ | ( | self | ) |
def actuator.Actuator.lock_pen | ( | self | ) |
Locks pen in place.
Once a pen position is reached, this method helps lock the pen in place.
def actuator.Actuator.pen_down | ( | self | ) |
Places the pen down.
This method allows the user to tell the actuator to place the pen on the paper.
def actuator.Actuator.pen_up | ( | self | ) |
Places the pen up.
This method allows the user to tell the actuator to take the pen off the paper.
actuator.Actuator.EN_A |
Creates an Enable Pin.
The Enable pin is necessary to start controlling the pen motion.
actuator.Actuator.IN1A |
Input 1 Pin.
The pen actuator requires two pins to control upward/downward motion. This is the first pin.
actuator.Actuator.IN2A |
Input 2 Pin.
The pen actuator requires two pins to control upward/downward motion. This is the second pin.