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
b226a160
Commit
b226a160
authored
Apr 09, 2017
by
Jacob Rosenthal
Committed by
GitHub
Apr 09, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #132 from carlosperate/sda_scl
Add SDA and SCL pin constants to variant definitions.
parents
570d689a
da24f08c
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
36 additions
and
0 deletions
+36
-0
variants/BBCmicrobit/variant.h
variants/BBCmicrobit/variant.h
+3
-0
variants/BLENano/variant.h
variants/BLENano/variant.h
+3
-0
variants/BluzDK/variant.h
variants/BluzDK/variant.h
+3
-0
variants/Generic/variant.h
variants/Generic/variant.h
+3
-0
variants/PCA1000X/variant.h
variants/PCA1000X/variant.h
+3
-0
variants/RedBearLab_nRF51822/variant.h
variants/RedBearLab_nRF51822/variant.h
+3
-0
variants/RedBear_BLENano2/variant.h
variants/RedBear_BLENano2/variant.h
+3
-0
variants/RedBear_Blend2/variant.h
variants/RedBear_Blend2/variant.h
+3
-0
variants/Taida_Century_nRF52_minidev/variant.h
variants/Taida_Century_nRF52_minidev/variant.h
+3
-0
variants/Waveshare_BLE400/variant.h
variants/Waveshare_BLE400/variant.h
+3
-0
variants/nRF52DK/variant.h
variants/nRF52DK/variant.h
+3
-0
variants/ng-beacon/variant.h
variants/ng-beacon/variant.h
+3
-0
No files found.
variants/BBCmicrobit/variant.h
View file @
b226a160
...
...
@@ -94,6 +94,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
#define PIN_WIRE_SDA (20u)
#define PIN_WIRE_SCL (19u)
static
const
uint8_t
SDA
=
PIN_WIRE_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE_SCL
;
#ifdef __cplusplus
}
#endif
...
...
variants/BLENano/variant.h
View file @
b226a160
...
...
@@ -88,6 +88,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
#define PIN_WIRE_SDA (2u)
#define PIN_WIRE_SCL (3u)
static
const
uint8_t
SDA
=
PIN_WIRE_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE_SCL
;
#ifdef __cplusplus
}
#endif
...
...
variants/BluzDK/variant.h
View file @
b226a160
...
...
@@ -107,6 +107,9 @@ static const uint8_t SCK1 = PIN_SPI1_SCK ;
#define PIN_WIRE_SDA (0u)
#define PIN_WIRE_SCL (1u)
static
const
uint8_t
SDA
=
PIN_WIRE_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE_SCL
;
#ifdef __cplusplus
}
#endif
...
...
variants/Generic/variant.h
View file @
b226a160
...
...
@@ -96,6 +96,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
#define PIN_WIRE_SDA (20u)
#define PIN_WIRE_SCL (21u)
static
const
uint8_t
SDA
=
PIN_WIRE_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE_SCL
;
#ifdef __cplusplus
}
#endif
...
...
variants/PCA1000X/variant.h
View file @
b226a160
...
...
@@ -110,6 +110,9 @@ extern "C"
#define PIN_WIRE_SDA (25u)
#define PIN_WIRE_SCL (24u)
static
const
uint8_t
SDA
=
PIN_WIRE_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE_SCL
;
#else
/* PCA10000
* *********/
...
...
variants/RedBearLab_nRF51822/variant.h
View file @
b226a160
...
...
@@ -88,6 +88,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
#define PIN_WIRE_SDA (20u)
#define PIN_WIRE_SCL (21u)
static
const
uint8_t
SDA
=
PIN_WIRE_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE_SCL
;
#ifdef __cplusplus
}
#endif
...
...
variants/RedBear_BLENano2/variant.h
View file @
b226a160
...
...
@@ -87,6 +87,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
#define PIN_WIRE_SDA (2u)
#define PIN_WIRE_SCL (3u)
static
const
uint8_t
SDA
=
PIN_WIRE_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE_SCL
;
#ifdef __cplusplus
}
#endif
...
...
variants/RedBear_Blend2/variant.h
View file @
b226a160
...
...
@@ -91,6 +91,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
#define PIN_WIRE_SDA (20u)
#define PIN_WIRE_SCL (21u)
static
const
uint8_t
SDA
=
PIN_WIRE_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE_SCL
;
#ifdef __cplusplus
}
#endif
...
...
variants/Taida_Century_nRF52_minidev/variant.h
View file @
b226a160
...
...
@@ -101,6 +101,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
#define PIN_WIRE_SDA (2u)
#define PIN_WIRE_SCL (3u)
static
const
uint8_t
SDA
=
PIN_WIRE_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE_SCL
;
#ifdef __cplusplus
}
#endif
...
...
variants/Waveshare_BLE400/variant.h
View file @
b226a160
...
...
@@ -104,6 +104,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
#define PIN_WIRE_SDA (0u)
#define PIN_WIRE_SCL (1u)
static
const
uint8_t
SDA
=
PIN_WIRE_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE_SCL
;
#ifdef __cplusplus
}
#endif
...
...
variants/nRF52DK/variant.h
View file @
b226a160
...
...
@@ -105,6 +105,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
#define PIN_WIRE_SDA (22u)
#define PIN_WIRE_SCL (23u)
static
const
uint8_t
SDA
=
PIN_WIRE_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE_SCL
;
#ifdef __cplusplus
}
#endif
...
...
variants/ng-beacon/variant.h
View file @
b226a160
...
...
@@ -80,6 +80,9 @@ static const uint8_t SCK = PIN_SPI_SCK ;
#define PIN_WIRE_SDA (6u)
#define PIN_WIRE_SCL (7u)
static
const
uint8_t
SDA
=
PIN_WIRE_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE_SCL
;
#ifdef __cplusplus
}
#endif
...
...
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