ronanguilloux / php-gpio

A PHP library to play with the Raspberry PI's GPIO pins
MIT License
270 stars 59 forks source link

Pin number 16 invalid #23

Closed gsdevme closed 9 years ago

gsdevme commented 9 years ago

Im trying to convert this python https://gist.github.com/gsdevme/3ac674eb105b13d0139d

I have repo setup here https://github.com/gsdevme/energenie-pi-remote-control however running it on the Pi I get pin number 16 invalid

https://github.com/gsdevme/energenie-pi-remote-control/blob/master/test.php

# set the pins numbering mode
GPIO.setmode(GPIO.BOARD)

The python has this call unsure if its a problem, any ideas exactly?

gsdevme commented 9 years ago

Seems it was Physical vs BCM pin numbers