pi_piper
pi_piper copied to clipboard
Which is the :pin number?
I had quite some trouble in figuring out that the :pin number actually is the GPIO number, not the physical pin number (and not either the wiringPi number).
So if I want to write to the physical pin number 12 I need to write PiPiper::Pin.new(:pin => 18, :direction => :out).
Would it be possible to add this information somewhere obvious to the documentation?
This is an excellent idea!
I'll take up this issue and come up with an API suggestion in a while. Please assign me to this.