whaleygeek / SL030

A driver package for the SL030 RFID tag reader
MIT License
0 stars 1 forks source link

Make it better co-operate with RPi.GPIO #6

Closed whaleygeek closed 3 years ago

whaleygeek commented 3 years ago

We currently pass in a GPIO object. I think this works ok, but remember that with the software driver, we have direct accesses to the GPIO hardware in C-land, and then RPi.GPIO will be direct accessing too.

People building a project with this will likely want to use other GPIO's for other stuff, so just think this through and make sure it doesn't paint them into a corner.

whaleygeek commented 3 years ago

Seems fine to me, you can use the RPi.GPIO module instance passed in, in your surrounding python program.