Replies: 1 comment 9 replies
-
Check your use of GPIO pins. Determine which are used for the I2C bus and SPI bus, there will be a conflict. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
first time using GxEPD2.
i took a look at the example hello world for my 2.9 waveshare v2 display (black & white). Its working.
https://pastebin.com/AvPErxT3
I changed it so i only have .ino file (better for me to use as a beginner)
Its working.
Then I added a BME680 via SPI, used the example code, it works:
https://pastebin.com/B8009AM5
But when I combine the codes the display isn't working anymore:
https://pastebin.com/hYLvg9mD
After troubleshooting, simulating values and disabling lines I figured out the problem is bme.begin():
https://pastebin.com/VPUrj4VC (line 133)
as soon as bme.begin() is called the display is staying white.
Here is a more detailed description of everything:
https://www.reddit.com/r/arduino/comments/1m2f7kw/help_esp32_eink_bme680_via_spi_not_working/
Beta Was this translation helpful? Give feedback.
All reactions