добавлен пин для платы старт
This commit is contained in:
1 parent
ef09957047
commit
287e66669e
11 files changed
+25
-27
No files matched your search
@@ -34,8 +34,8 @@
|
||||
|
||||
//#include "PinDefinitionsAndMore.h" // Define macros for input and output pin etc.
|
||||
|
||||
#define IR_RECEIVE_PIN 2
|
||||
#define TONE_PIN 3
|
||||
#define IR_RECEIVE_PIN 4 // P0_1
|
||||
#define TONE_PIN 5 // P0_2
|
||||
|
||||
// Some kind of auto detect library if USE_TINY_IR_RECEIVER is deactivated
|
||||
#if !defined(USE_TINY_IR_RECEIVER)
|
||||
@@ -119,11 +119,9 @@ void setup() {
|
||||
Serial.println(F("START " __FILE__ " from " __DATE__ "\r\nUsing IRMP library version " VERSION_IRMP));
|
||||
#endif
|
||||
|
||||
#if !defined(ESP8266) && !defined(NRF5)
|
||||
// play feedback tone before setup, since it kills the IR timer settings
|
||||
tone(TONE_PIN, 1000, 50);
|
||||
delay(50);
|
||||
#endif
|
||||
|
||||
IRDispatcher.init(); // This just calls irmp_init()
|
||||
#if defined(USE_TINY_IR_RECEIVER)
|
||||
|
||||
Reference in new issue
Block a user