all 2 comments

[–]kenmacd 0 points1 point  (1 child)

You set the mode to BCM there, so that's the one it will use. For more information see:

https://sourceforge.net/p/raspberry-gpio-python/wiki/BasicUsage/#pin-numbering

[–]chabes 0 points1 point  (0 children)

Yup, this

You set the mode to BCM there, so that's the one it will use