Viewed 4 times
I am planning to put a power button on my raspberry pi 3b+ which uses the PIN 5 in order for me to shut it down and turn it on again when I wanted to. However, pin 5 is I2C CLOCK which is used for the I2C LCD. Now, my problem is I need them both. Are there alternative pins that I can use for my I2C LCD? Thank you so much!
asked 18 mins ago
1111 bronze badge
- Let me see. (1) Rpi4B has 5 I2C channels. (2) So you can use any of the I2C buses that do not use GPIO pin5 as the I2C clock. (3) Reference: Python I2C LCD module (using PCA8574) V0.01 – WuSiYu, GitHub: github.com/WuSiYu/python-i2clcd – tlfong01 2 mins ago Edit