• Raspberry Pi

    GPIOZero on Non-Zero Raspberry Pi

    So there are some cool features that are built into the GPIOZero library/module.  One of the challenges I think many of us that have a lot of projects that we want to work on, is that we end up having to translate it to the version of RPI that we just happen to be working on or have available.  This can be frustrating when the code is available without us having to rewrite it all in the libraries available for the hardware we just happen to plug-in. So GPIO the old way with photocells is a bit involved: GPIO.setmode(GPIO.BCM)  def…