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?
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?