ESP32 position motion control example with magnetic sensor """ // SPI Magnetic sensor instance (AS5047U example) // MISO 12 // MOSI 9 // SCK 14 // magnetic sensor instance - SPI MagneticSensorSPI sensor = MagneticSensorSPI(AS5147_SPI, 10); """ ESP32-DevKitC-1(ESP32-WROVER-E) has no pin10 HSPI_SS pin is 15 #define HSPI_MISO 12 #define HSPI_MOSI 13 #define HSPI_SCLK 14 #define HSPI_SS 15 the example does not work