Alpha Code - don not use yet
A simple module to control and interface to things connected to the GPIO pins on the Raspberry Pi.
based on GPIOZero created by `Ben Nuttall`_ of the `Raspberry Pi Foundation`_, `Dave Jones`_, and other contributors
Their is no release yet
With very little code, you can quickly get going connecting your physical components together:
import gpioone as gp
gp.pinnames(BCM) // not needed if using physical pin numbers but included for Cambridge compatibility
led = gp.pin(11) // pins 11,12,13,15,18 are defaulted as output pins for controlling things
button = gp.pin(7) // all other pins are defaulted to inputs
while true:
if button.pressed:
led.on()
else:
led.off()
Intstall not yet operational
Not done
This project is being developed on `GitHub`_. Join in:
- Provide suggestions, report bugs and ask questions as `Issues`_
- Contribute to the code
- `Simon Walters`_ (project maintainer)