@teastain What a shitshow! First my Arduino IDE got really funky and wasn't able to connect to Serial. I didn't realize I had upgraded the ESP32 board module and TFT_eSPI lib to the latest, neither of which work. I backed out of the newest TFT_eSPI lib and then twice downgraded the Expressif module to 2.0.4. And lastly, I put the pinMode for SDA and SCL in the setup() function, but that somehow borked the pinouts.
I have everything running smoothly now and was able to just reassign SCL to 44 and SDA to 43 without have to cross the wires.
I'm am greatly appreciative of your help. You got me on the right tack with your code and pinmodes. THANK YOU!
Posts made by mrudick1
-
RE: Trouble using I2C on T-QT Pro
-
RE: Trouble using I2C on T-QT Pro
@teastain Hey Terry. Thank you so much for the guidance! Plus I would've pulled my hair out trying to figure out that SDA and SCL were swapped! I started down the rabbit hole and then wasn't sure if I had to go through the whole process of enabling I2C, which is a bit beyond my knowledge.
I'm trying to connect an Adafruit BNO055 IMU to the LilyGo. The weird part is that when I run a port scanner I get absolutely no serial output. This is what I used: https://playground.arduino.cc/Main/I2cScanner/. I also tried to specify ports 43 and 44 in the scanning, and still nothing. The T-QT doesn't seem to have any default SDA/SCL ports and my understanding is that I could use any of the open GPIOs.Anyway, thanks a ton for your help. I will give this a shot and let you know.
-
Trouble using I2C on T-QT Pro
I'm using an Adafruit sensor that I've connected via the Stemma port on the T-QT Pro and sensor. I've tried assigning the SDA and SCL ports to 44 and 43, but am not receiving any data. I've also run a few different I2C Scanner sketches, but nothing appears in my serial monitor.
What am I doing wrong here? Has anyone used the T-QT with Stemma/Qwiic before?