[CC1101] Fixed macro name in examples

This commit is contained in:
jgromes 2020-01-06 17:25:11 +01:00
parent e39c804c73
commit 946621cabf
7 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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