Plot Something - ME 405 Term Project
encoder_agena_chiu.py File Reference

This is the file that serves as a module to be imported in main. More...

Classes

class  encoder_agena_chiu.EncoderDriver
 This class implements a encoder driver for an ME405 kit. More...
 

Variables

 encoder_agena_chiu.encoder_drv1 = EncoderDriver(pyb.Pin.cpu.B6, pyb.Pin.cpu.B7, 4)
 A variable that creates a encoder driver for encoder 1.
 
 encoder_agena_chiu.encoder_drv2 = EncoderDriver(pyb.Pin.cpu.C6, pyb.Pin.cpu.C7, 8)
 A variable that creates a encoder driver for encoder 2.
 
 encoder_agena_chiu.enc1 = encoder_drv1.read()
 
 encoder_agena_chiu.enc2 = encoder_drv2.read()
 

Detailed Description

This is the file that serves as a module to be imported in main.

It creates a class for the encoder driver to run functions.

Author
Corey Agena
Luisa Chiu
Date
1-26-2022