the-raspberry-pi-guy / lcd

This repository contains all of the code for interfacing with a 16x2 Character I2C LCD Display. This accompanies my YouTube tutorial here: https://www.youtube.com/watch?v=fR5XhHYzUK0
188 stars 107 forks source link

Change GPIO PIN 3 #75

Closed tony-nz closed 5 months ago

tony-nz commented 5 months ago

Hey there, is it possible to change the GPIO 3 pin requirement to another GPIO pin?

I require pin 3 for my power button

cgomesu commented 5 months ago

hi, @tony-nz . it seems like you have at least two options then:

  1. move your power button to another pin if it does not use the i2c bus.
  2. use the i2c-0 bus via gpio 0 and 1. if you choose to do so, make sure to read the following docs beforehand:
tony-nz commented 5 months ago

@cgomesu thank you, I will give this ago :)