wrong name for interrupt pin on arduino
This commit is contained in:
1 parent
5de2e1f517
commit
013c0b234f
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -67,7 +67,7 @@ RF supported protocols
|
||||
#else
|
||||
//IMPORTANT NOTE: On arduino UNO connect IR emitter pin to D9 , comment #define IR_USE_TIMER2 and uncomment #define IR_USE_TIMER1 on library <library>IRremote/IRremoteInt.h so as to free pin D3 for RF RECEIVER PIN
|
||||
//RF PIN definition
|
||||
#define RF_RECEIVER_PIN D2
|
||||
#define RF_RECEIVER_PIN 0 //0 = D2 on arduino
|
||||
#define RF_EMITTER_PIN 4 //4 = D4 on arduino
|
||||
#endif
|
||||
|
||||
|
||||
+1
-1
@@ -57,7 +57,7 @@ const char PROGMEM RFM69AP_NAME[] = "RFM69-AP";
|
||||
#else
|
||||
//RFM69 not tested with arduino
|
||||
#define RFM69_CS 10
|
||||
#define RFM69_IRQ 2
|
||||
#define RFM69_IRQ 0
|
||||
#define RFM69_IRQN digitalPinToInterrupt(RFM69_IRQ)
|
||||
#define RFM69_RST 9
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user