добавлен пин для платы старт

This commit is contained in:
klassents committed 2025-01-25 08:56:27 +07:00
1 parent efac9cf87a
commit 25bc00a1bd
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)