mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-30 02:15:41 +00:00

https://www.espboards.dev/esp32/esp32-c3-super-mini/ DIY build by @AntonKartajaya on Meshtastic Discord and a PCB version WIP by https://github.com/NomDeTom. - I2C - I2C_SDA: 1 - I2C_SCL: 0 - OLED: SSD1306 - GPS - GPS_RX_PIN: 20 - GPS_TX_PIN: 21 - Button - BUTTON_PIN: 9 - SPI - SCK: 10 - MISO: 6 - MOSI: 7 - CS: 8 - LoRa: SX1262 - LORA_RESET: 5 - LORA_DIO1: 3 - LORA_RXEN: 2 - LORA_BUSY: 4 Signed-off-by: Andrew Yong <me@ndoo.sg>
25 lines
516 B
C
25 lines
516 B
C
#ifndef Pins_Arduino_h
|
|
#define Pins_Arduino_h
|
|
|
|
#include <stdint.h>
|
|
|
|
static const uint8_t TX = 21;
|
|
static const uint8_t RX = 20;
|
|
|
|
static const uint8_t SDA = 1;
|
|
static const uint8_t SCL = 0;
|
|
|
|
static const uint8_t SS = 8;
|
|
static const uint8_t MOSI = 7;
|
|
static const uint8_t MISO = 6;
|
|
static const uint8_t SCK = 10;
|
|
|
|
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;
|
|
|
|
#endif /* Pins_Arduino_h */
|