405 Documentation  9.0
Lab01: Reintroduction

A reintroduction to Python and finite state machines.

The goal of lab01.py is to regain comfort with python and the concepts learned in ME 305 by developing a program that "embodies the function of a vending machine."

(Source: https://bitbucket.org/dhmorse/me-405/src/master/Lab01/)

Finite State Machine Diagram

The following is a proposed finite state machine for a vending machine. It follows the central "master mind" style taught in ME 305 pre-Covid.

Vending Machine FSM

Vending Machine FSM Code

lab01.py was designed around the FSM pictured above. Each task is singularly focused and virtually non-blocking.

(Source: https://bitbucket.org/dhmorse/me-405/src/master/Lab01/)

Author
Hunter Morse
Date
Winter 2021