guyc / py-gaugette

Python library to support building hardware gadgets with the Raspberry Pi and BeagleBone Black
http://guy.carpenter.id.au/gaugette/
GNU Lesser General Public License v3.0
121 stars 44 forks source link

cache wiringpi2 gpio since setup can only be called once #17

Closed typotter closed 7 years ago

guyc commented 7 years ago

Thanks for this PR. I decided to change the method signatures to allow gpio to be passed to the constructors for proper dependency injection, so I wont be merging this.