Closed dpoulson closed 5 years ago
Initial commit of class to control GPIO pins. A csv file configures the pins with a descriptive name, and sets a default value.
https://github.com/dpoulson/r2_control/commit/2deeece715512b1d4c2280985b9092980c472ec2
GPIO code is more or less working. Can reference by pin currently, but not name from config file
Currently to enable/disable dome and drive motors, a servo switch is used. This isn't ideal, and if there is a problem with the i2c bus then the drive is unusable.
Instead, a gpio pin should be used and a dedicated module added to the code. This will make it a lot safer too.