brodigan-e / capstone-POV

NEU Capstone Project
MIT License
2 stars 1 forks source link

Add motor control script #14

Closed jbewing closed 3 years ago

jbewing commented 3 years ago

This PR adds a small python script which spins the motor infinitely. The major value that this adds is that it has the GPIO port numbers defined in the script.

Note: This uses the gpizero library which is just a wrapper library around the existing Raspberry Pi GPIO libraries that gets rid of some boilerplate (namely, actually thinking about what states to set the GPIO pins to). We might outgrow it for our use case in which case we can just use the GPIO library directly.