You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to combine an OLED display with a RFID reader. The OLED should give status informations about the user. I used the procedure described here (https://www.raspberrypi-spy.co.uk/2018/04/i2c-oled-display-module-with-raspberry-pi/) to run the display. In separate it works perfectly but when I try to combine both it does not work. The display library Adafruit_SSD1306 (SSD1306_128_32) is using GPIO.BCM. The pirc522 library is using GPIO.BOARD. According to the Readme it is possible to switch to BCM: “You may change BOARD pinout to BCM py passing pin_mode=RPi.GPIO.BCM.” I tried to change the values but it doesn’t work like this.
Could you please explain more in detail how to change from BOARD to BCM ?
Best regards
Norbert
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to combine an OLED display with a RFID reader. The OLED should give status informations about the user. I used the procedure described here (https://www.raspberrypi-spy.co.uk/2018/04/i2c-oled-display-module-with-raspberry-pi/) to run the display. In separate it works perfectly but when I try to combine both it does not work. The display library Adafruit_SSD1306 (SSD1306_128_32) is using GPIO.BCM. The pirc522 library is using GPIO.BOARD. According to the Readme it is possible to switch to BCM: “You may change BOARD pinout to BCM py passing pin_mode=RPi.GPIO.BCM.” I tried to change the values but it doesn’t work like this.
Could you please explain more in detail how to change from BOARD to BCM ?
Best regards
Norbert
The text was updated successfully, but these errors were encountered: