BTT Pi - GPIO Numbering


Message form facebook BTT group

PG19 is definitely a GPIO pin. It may not be on the 40 pin GPIO header but any input / output pin on the BTT Pi and CB1 is GPIO.

The formula to convert from PG19 to GPIO is:

[(PG - PA)*32] + {Pin Number}

Where PA = 1, PB =2….so PG = 7

So [(7-1)*32] + 19 = 211

Try using GPIO211

The BTT documentation on this is rubbish and lacking.

result :


Thanks again and happy FAST printing

1 Like

Push on GitHub with more explanation.