Mechatronics
Documentation for ME 405 labs
serial_codes.py File Reference

Definitions for all of the serial line codes to be passed back and forth between the frontend and the nucleo. More...

Variables

string serial_codes.CALIBRATE = "CALIBRATE\n".encode("ascii")
 Defines a constant for calibration mode.
 
string serial_codes.RUN = "RUN\n".encode("ascii")
 Defines a constant to signal the board to start the controller.
 
string serial_codes.HALT = "HALT\n".encode("ascii")
 Defines a constant to signal the board to terminate operation.
 
string serial_codes.START_DATA_COLLECTION = "START_DATA_COLLECTION\n".encode("ascii")
 Defines a constant for data collection start.
 
string serial_codes.STOP_DATA_COLLECTION = "STOP_DATA_COLLECTION\n".encode("ascii")
 Defines a constant for data collection stop.
 

Detailed Description

Definitions for all of the serial line codes to be passed back and forth between the frontend and the nucleo.

Author
Tyler Olson
Date
June 9, 2021