Skip to content

ESP32 position motion control example with magnetic sensor: SPI pins #112

@juedongli

Description

@juedongli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationUpdate documentation neededenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions