I’m following the guide and have adapted the Example3-MovingHead sketch to map to the pin numbers of the ESP32-S2 which are different from the pin numbers on the ESP32 Thing Plus.
Should that work?
I am getting a slew of compile errors starting with:
fastspi.h:157:23: note: '#pragma message: No hardware SPI pins defined.
Here are my modified pin definitions
//Pin Definitions for ESP32 WROOM
#define CLOCK 36 //SCK ESP32-S2 Thing Plus (WRL-17743)
#define DATA0 37 //CIPO ESP32-S2 Thing Plus (WRL-17743)
#define DATA1 35 //COPI ESP32-S2 Thing Plus (WRL-17743)
#define DATA2 11 //GPIO11 ESP32-S2 Thing Plus (WRL-17743)
ESP32-S2 Thing plus Graphical Datasheet
https://cdn.sparkfun.com/assets/d/b/4/3 … g_plus.pdf
ESP32 Thing plus Graphical Datasheet
https://cdn.sparkfun.com/assets/learn_t … lusV20.pdf
The COPI, CIPO, SCK pins are all at the same header location on both boards. Just with different numbers.
Should this work?