mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-25 06:12:29 +00:00

* Fix serial communication for nugget s3 lora Without setting `ARDUINO_USB_CDC_ON_BOOT=1` the serial interface on the nugget s3 lora board does not work. * Fix nugget s3 lora variant definitions
27 lines
892 B
C
27 lines
892 B
C
#define I2C_SDA 35 // I2C pins for this board
|
|
#define I2C_SCL 36
|
|
|
|
#define USE_SSD1306
|
|
#define DISPLAY_FLIP_SCREEN
|
|
|
|
#define LED_PIN 15 // If defined we will blink this LED
|
|
|
|
#define HAS_NEOPIXEL // Enable the use of neopixels
|
|
#define NEOPIXEL_COUNT 3 // How many neopixels are connected
|
|
#define NEOPIXEL_DATA 10 // gpio pin used to send data to the neopixels
|
|
#define NEOPIXEL_TYPE (NEO_GRB + NEO_KHZ800) // type of neopixels in use
|
|
|
|
// Button A (44), B (43), R (12), U (13), L (11), D (18)
|
|
#define BUTTON_PIN 44 // If defined, this will be used for user button presses
|
|
#define BUTTON_NEED_PULLUP
|
|
|
|
#define USE_RF95
|
|
#define LORA_SCK 6
|
|
#define LORA_MISO 7
|
|
#define LORA_MOSI 8
|
|
#define LORA_CS 9
|
|
#define LORA_DIO0 16 // a No connect on the SX1262 module
|
|
#define LORA_RESET 4
|
|
|
|
#define LORA_DIO1 RADIOLIB_NC
|
|
#define LORA_DIO2 RADIOLIB_NC |