Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
How to use both VSPI & HSPI SPI buses simultaneously? #790
Trying to use both VPSI & HSPI busses simultaneously to drive two OLED displays. By default,
I've tried the suggested code here: olikraus/u8g2#377 (comment)
Is the usage of HSPI + VSPI through arduino API possible currently? If so, what is the best way to achieve this?
I tried replacing all references to SPI and replaced them to SPI2 in this file:
and oled works fine. It didn't switch to HSPI pins.
So, looks like the VSPI (3) and HSPI (2) #defines are not being executed? I need to debug more.