Добавлена библиотека IRremote #10

Merged
klassents merged 75 commits from dev into v0.5.0 2025-01-25 06:52:11 +03:00
Showing only changes of commit 330c7f05c4 - Show all commits

View File

@ -65,7 +65,7 @@
//#define NO_LED_FEEDBACK_CODE // saves 92 bytes program memory
//#define EXCLUDE_UNIVERSAL_PROTOCOLS // Saves up to 1000 bytes program memory.
//#define EXCLUDE_EXOTIC_PROTOCOLS // saves around 650 bytes program memory if all other protocols are active
#define IR_REMOTE_DISABLE_RECEIVE_COMPLETE_CALLBACK // saves 32 bytes program memory
//#define IR_REMOTE_DISABLE_RECEIVE_COMPLETE_CALLBACK // saves 32 bytes program memory
// MARK_EXCESS_MICROS is subtracted from all marks and added to all spaces before decoding,
// to compensate for the signal forming of different IR receiver modules. See also IRremote.hpp line 142.
@ -83,9 +83,8 @@
#define STR_HELPER(x) #x
#define STR(x) STR_HELPER(x)
#define IR_RECEIVE_PIN P0_11
// #define IR_SEND_PIN 3
// #define TONE_PIN P0_4
#define IR_RECEIVE_PIN 2
void handleOverflow();
bool detectLongPress(uint16_t aLongPressDurationMillis);