Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
c9b23516
Unverified
Commit
c9b23516
authored
Apr 04, 2023
by
Kenny
Committed by
GitHub
Apr 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update heltec v3 pin definitions (#7877)
parent
df75f38a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
variants/heltec_wifi_kit_32_v3/pins_arduino.h
variants/heltec_wifi_kit_32_v3/pins_arduino.h
+7
-5
variants/heltec_wifi_lora_32_V3/pins_arduino.h
variants/heltec_wifi_lora_32_V3/pins_arduino.h
+6
-0
No files found.
variants/heltec_wifi_kit_32_v3/pins_arduino.h
View file @
c9b23516
...
...
@@ -7,13 +7,13 @@
#define DISPLAY_HEIGHT 64
#define DISPLAY_WIDTH 128
#define EXTERNAL_NUM_INTERRUPTS
1
6
#define NUM_DIGITAL_PINS 4
0
#define NUM_ANALOG_INPUTS
16
#define EXTERNAL_NUM_INTERRUPTS
4
6
#define NUM_DIGITAL_PINS 4
8
#define NUM_ANALOG_INPUTS
20
#define analogInputToDigitalPin(p) (((p)<20)?(analogChannelToDigitalPin(p)):-1)
#define digitalPinToInterrupt(p) (((p)<4
0
)?(p):-1)
#define digitalPinHasPWM(p) (p <
34
)
#define digitalPinToInterrupt(p) (((p)<4
8
)?(p):-1)
#define digitalPinHasPWM(p) (p <
46
)
static
const
uint8_t
LED_BUILTIN
=
35
;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
...
...
@@ -74,4 +74,6 @@ static const uint8_t RST_OLED = 21;
static
const
uint8_t
SCL_OLED
=
18
;
static
const
uint8_t
SDA_OLED
=
17
;
static
const
uint8_t
DIO0
=
14
;
#endif
/* Pins_Arduino_h */
variants/heltec_wifi_lora_32_V3/pins_arduino.h
View file @
c9b23516
...
...
@@ -5,6 +5,8 @@
#include "soc/soc_caps.h"
#define WIFI_LoRa_32_V3 true
#define DISPLAY_HEIGHT 64
#define DISPLAY_WIDTH 128
#define USB_VID 0x303a
#define USB_PID 0x1001
...
...
@@ -79,4 +81,8 @@ static const uint8_t RST_OLED = 21;
static
const
uint8_t
SCL_OLED
=
18
;
static
const
uint8_t
SDA_OLED
=
17
;
static
const
uint8_t
RST_LoRa
=
12
;
static
const
uint8_t
BUSY_LoRa
=
13
;
static
const
uint8_t
DIO0
=
14
;
#endif
/* Pins_Arduino_h */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment