This commit is contained in:
kraus 2023-03-19 08:58:55 +01:00
parent 4d9f63394f
commit 7878a39b8c
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@ U8G2_..._4W_SW_SPI u8g2(U8G2_R0, clock, data, cs, dc, reset);
All U8g2 hardware SPI constructors look like this:
U8G2_..._4W_SW_SPI u8g2(U8G2_R0, cs, dc, reset);
Q: How to use HSPI for HW SPI on ESP32?
A: Assign "SPI = SPIClass(HSPI);" before calling u8g2.begin() (see issue #1061)
Q: For HW I2C no pin numbers are required in the constructor. But which are
the pin numbers for wiring?
A: See same question for SPI. For some boards, the pins are listed here: