Skip to content

add dfrobot lorawan esp32s3 board #11300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update pins_arduino.h
remove duplicate macro definitions
  • Loading branch information
qhddz authored Apr 25, 2025
commit a6bea7512884af0e0a08cd1a50964a6c12fda67e
14 changes: 1 addition & 13 deletions variants/dfrobot_lorawan_esp32s3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,7 @@

#include <stdint.h>

// DFROBOT DFR1195
#define EXTERNAL_NUM_INTERRUPTS 16
#define NUM_DIGITAL_PINS 40
#define NUM_ANALOG_INPUTS 16

#define analogInputToDigitalPin(p) (((p) < 20) ? (esp32_adc2gpio[(p)]) : -1)
#define digitalPinToInterrupt(p) (((p) < 40) ? (p) : -1)
#define digitalPinHasPWM(p) (p < 34)

#define LED_GREEN -1
#define LED_BLUE 2

#define LED_BUILTIN LED_GREEN
#define LED_BUILTIN 21

static const uint8_t TX = 43;
static const uint8_t RX = 44;
Expand Down