More RPi.GPIO wisdom from RasPi.TV for the Raspberry Pi

In addition to Tuesday’s blog post about RPI_INFO, Alex has also discovered a new function call inside the RPi.GPIO Python library: getmode(). This is a companion to setmode() and reads back what mode the library is set to – BCM, BOARD or not defined. Read how to use it and see example scripts here.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.