[CC1101] Fixed macro name in examples
This commit is contained in:
parent
e39c804c73
commit
946621cabf
7 changed files with 8 additions and 8 deletions
|
@ -21,7 +21,7 @@
|
|||
// GDO0 pin: 2
|
||||
// RST pin: unused
|
||||
// GDO2 pin: 3 (optional)
|
||||
CC1101 cc = new Module(10, 2, RADIOLIB_PIN_UNUSED, 3);
|
||||
CC1101 cc = new Module(10, 2, NC, 3);
|
||||
|
||||
// or using RadioShield
|
||||
// https://github.com/jgromes/RadioShield
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
// GDO0 pin: 2
|
||||
// RST pin: unused
|
||||
// GDO2 pin: 3 (optional)
|
||||
CC1101 cc = new Module(10, 2, RADIOLIB_PIN_UNUSED, 3);
|
||||
CC1101 cc = new Module(10, 2, NC, 3);
|
||||
|
||||
// or using RadioShield
|
||||
// https://github.com/jgromes/RadioShield
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
// GDO0 pin: 2
|
||||
// RST pin: unused
|
||||
// GDO2 pin: 3 (optional)
|
||||
CC1101 cc = new Module(10, 2, RADIOLIB_PIN_UNUSED, 3);
|
||||
CC1101 cc = new Module(10, 2, NC, 3);
|
||||
|
||||
// or using RadioShield
|
||||
// https://github.com/jgromes/RadioShield
|
||||
|
|
|
@ -23,14 +23,14 @@
|
|||
// GDO0 pin: 2
|
||||
// RST pin: unused
|
||||
// GDO2 pin: 3 (optional)
|
||||
CC1101 cc1 = new Module(10, 2, RADIOLIB_PIN_UNUSED, 3);
|
||||
CC1101 cc1 = new Module(10, 2, NC, 3);
|
||||
|
||||
// second CC1101 has different connections:
|
||||
// CS pin: 9
|
||||
// GDO0 pin: 4
|
||||
// RST pin: unused
|
||||
// GDO2 pin: 5 (optional)
|
||||
CC1101 cc2 = new Module(9, 4, RADIOLIB_PIN_UNUSED, 53);
|
||||
CC1101 cc2 = new Module(9, 4, NC, 53);
|
||||
|
||||
// or using RadioShield
|
||||
// https://github.com/jgromes/RadioShield
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
// GDO0 pin: 2
|
||||
// RST pin: unused
|
||||
// GDO2 pin: 3 (optional)
|
||||
CC1101 cc = new Module(10, 2, RADIOLIB_PIN_UNUSED, 3);
|
||||
CC1101 cc = new Module(10, 2, NC, 3);
|
||||
|
||||
// or using RadioShield
|
||||
// https://github.com/jgromes/RadioShield
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
// GDO0 pin: 2
|
||||
// RST pin: unused
|
||||
// GDO2 pin: 3 (optional)
|
||||
CC1101 cc = new Module(10, 2, RADIOLIB_PIN_UNUSED, 3);
|
||||
CC1101 cc = new Module(10, 2, NC, 3);
|
||||
|
||||
// or using RadioShield
|
||||
// https://github.com/jgromes/RadioShield
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
// GDO0 pin: 2
|
||||
// RST pin: unused
|
||||
// GDO2 pin: 3 (optional)
|
||||
CC1101 cc = new Module(10, 2, RADIOLIB_PIN_UNUSED, 3);
|
||||
CC1101 cc = new Module(10, 2, NC, 3);
|
||||
|
||||
// or using RadioShield
|
||||
// https://github.com/jgromes/RadioShield
|
||||
|
|
Loading…
Add table
Reference in a new issue