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-nRF5
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-nRF5
Commits
8d91cbb0
Unverified
Commit
8d91cbb0
authored
Jan 27, 2024
by
huwgen
Committed by
GitHub
Jan 27, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrects A3 from pin 3 to pin 18(C18), adds A7 as pin 16(C16), updates comment (#521)
parent
1ce2a089
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
variants/CalliopeminiV3/variant.cpp
variants/CalliopeminiV3/variant.cpp
+1
-1
variants/CalliopeminiV3/variant.h
variants/CalliopeminiV3/variant.h
+3
-1
No files found.
variants/CalliopeminiV3/variant.cpp
View file @
8d91cbb0
...
...
@@ -27,7 +27,7 @@ const uint32_t g_ADigitalPinMap[] = {
17
,
// SCK
1
,
// MISO
13
,
// MOSI
29
,
// A
5
, C16_A1RX (Calliope change)
29
,
// A
7
, C16_A1RX (Calliope change)
// 17 + 18
34
,
// P1.02 C17 (Calliope exclusive pin)
...
...
variants/CalliopeminiV3/variant.h
View file @
8d91cbb0
...
...
@@ -34,10 +34,11 @@ extern "C"
#define PIN_A0 (0)
#define PIN_A1 (1)
#define PIN_A2 (2)
#define PIN_A3 (
3
)
#define PIN_A3 (
18
)
#define PIN_A4 (4)
#define PIN_A5 (10)
#define PIN_A6 (29)
#define PIN_A7 (16)
#define ADC_RESOLUTION 10
static
const
uint8_t
A0
=
PIN_A0
;
...
...
@@ -47,6 +48,7 @@ static const uint8_t A3 = PIN_A3;
static
const
uint8_t
A4
=
PIN_A4
;
static
const
uint8_t
A5
=
PIN_A5
;
static
const
uint8_t
A6
=
PIN_A6
;
static
const
uint8_t
A7
=
PIN_A7
;
// Serial
...
...
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