* Add SparkFun ESP32C6 Qwiic Pocket to boards.txt * Add SparkFun ESP32C6 Qwiic Pocket pins_arduino.h
31 lines
820 B
C
31 lines
820 B
C
#ifndef Pins_Arduino_h
|
|
#define Pins_Arduino_h
|
|
|
|
#include <stdint.h>
|
|
#include "soc/soc_caps.h"
|
|
|
|
// BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino
|
|
static const uint8_t LED_BUILTIN = 23;
|
|
#define BUILTIN_LED LED_BUILTIN // backward compatibility
|
|
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
|
|
|
|
static const uint8_t TX = 16;
|
|
static const uint8_t RX = 17;
|
|
|
|
static const uint8_t SDA = 6;
|
|
static const uint8_t SCL = 7;
|
|
|
|
static const uint8_t SS = 2;
|
|
static const uint8_t MOSI = 3;
|
|
static const uint8_t MISO = 4;
|
|
static const uint8_t SCK = 5;
|
|
|
|
static const uint8_t A0 = 0;
|
|
static const uint8_t A1 = 1;
|
|
static const uint8_t A2 = 2;
|
|
static const uint8_t A3 = 3;
|
|
static const uint8_t A4 = 4;
|
|
static const uint8_t A5 = 5;
|
|
static const uint8_t A6 = 6;
|
|
|
|
#endif /* Pins_Arduino_h */
|