Define ALTERNATIVE_PINS

Define Documentation

ALTERNATIVE_PINS

Use the ALTERNATIVE_PINS macro to switch between different default pin settings for the default SPI. This is ay needed for boards which are not standard Arduino or Infineon XMC Use 0 for.

  • default setting for all Infineon XMCs or PSoC boards

  • default setting for XMC 2go boards

  • default setting for all Arduino

  • for Arduino Nano classic with ATmega chipset Use 1 for

  • ESP8266

  • ESP32 clones

  • NodeMCU

  • WEMOS mini and Lite Kits

  • MH-ET Live Kits Use 2 for

  • pin settings based on Arduino pin names Use 3 for

  • experimental settings including the spi3w-esp32.cpp file