Commit Graph

402 Commits

Author SHA1 Message Date
Armin e36bcaa7b1 Bang & Olufsen quality assurance 2022-10-03 11:21:38 +02:00
Daniel Wallner 662b70c621
Bang & Olufsen support (#1030)
* Bang & Olufsen support
2022-10-02 10:00:58 +02:00
Armin c68148626d Support for ATtiny816 - Thanks to elockman. 2022-09-30 00:20:21 +02:00
Armin 909ee341d3 Documentation and Examples 2022-09-28 11:39:46 +02:00
Armin a975405c34 Fixes #1028 - Prevent long delay caused by overflow when frame duration < repeat period - Thanks to Stephen Humphries! 2022-09-28 11:16:43 +02:00
Armin f4c5656c53 Magiquest wand_id is now real 31 bit 2022-09-15 10:28:32 +02:00
Armin 4a3651e23c Bumped version to 4.0.0 2022-09-15 03:06:03 +02:00
Armin c6c1bf2e02 Improved Magiquest see #1027 2022-09-15 02:53:46 +02:00
Armin 3504eda155 Fixed bug #1026 reported by recordandmix. #define DECODE_MAGIQUEST still activates all decoders 2022-09-12 10:00:37 +02:00
Armin d7217c5c74 Documentation 2022-09-08 17:33:22 +02:00
Armin ad4abf825e Internal function checkForRepeatSpaceAndSetFlag() and optimized getProtocolString() 2022-08-31 20:37:53 +02:00
Armin 72f7c75b3e Version 4.0 2022-08-31 13:25:29 +02:00
Armin 1eb7ff24b1 Added NEC2 protocol, Improved Magiquest protocol, minor adjustments, renamed sendSamsungRepeat to sendSamsungLGRepeat, added function sendPulseDistanceWidth(), improved repeat detection for some protocols 2022-08-31 12:02:34 +02:00
Armin 91df621500 Open_drain documented 2022-08-17 19:29:01 +02:00
Armin 922d2c5c81 RAW_BUFFER_LENGTH in examples 2022-08-17 11:31:01 +02:00
Armin 64e66f8eb0 Documentation 2022-08-12 11:42:24 +02:00
Armin b00e0ee7ed Bumped version to 3.8.0 2022-08-07 01:33:51 +02:00
Armin 8d65b19995 Improved pin mapping for TinyReceiver 2022-07-30 11:01:14 +02:00
Armin 6f91910f78 Added SAMD51 support 2022-07-29 15:05:17 +02:00
Armin 829d8eba81 Added support for decoding of "special" NEC repeats 2022-07-28 14:33:43 +02:00
Armin 20b8cc875b Documented no support of SAMD51 2022-07-25 15:09:53 +02:00
Armin ff0703b231 Fixed pin mapping problems especially for Teensy 2.0 2022-07-20 09:31:49 +02:00
Armin fca327dc14 Fixed bug in send for RP4020. Fixed potential bug in SendBiphase data for 1 bit. 2022-07-16 21:33:09 +02:00
Armin e4d1da8e3f 1.part of fix of SEND_PWM_BY_TIMER especially for Pi Pico. closes bug #1001 2022-07-16 10:20:58 +02:00
Armin cd9a53ca78 Send usage added and reduced output size and improved format of printIRResultRawFormatted() to fasten up output (and getting repeats properly decoded) 2022-07-15 15:32:27 +02:00
Armin 9f8ed31af8 No reference found for Samsung "repeats are like NEC but with 2 stop bits", so changed to observed regular behavior. 2022-07-10 11:48:49 +02:00
Armin efafe9501f Version 3.7.1 and fixed ESP32 send bug for 2.x ESP32 cores 2022-06-28 19:07:53 +02:00
Armin fe3bafe5f5 Improved DistanceProtocol decoder output and minor changes 2022-06-27 01:18:44 +02:00
Armin 0c4d269e93 SendRaw now supports bufferlenght > 255 2022-06-25 01:49:49 +02:00
Armin 9f13e0a234 Documentation 2022-06-24 20:21:00 +02:00
Armin 21ae1957c2 Improved distance protocol decoder 2022-06-03 09:21:51 +02:00
Armin f0546dd0c9 Bumped version to 3.7.0 2022-05-30 17:33:54 +02:00
Armin b3adbc41bf Closes #992 2022-05-27 18:06:47 +02:00
Armin 3888a3ce68 - Added IrReceiver.restartAfterSend() and inserted it in every send(). Closes #989 2022-05-20 22:25:13 +02:00
Armin c6cf6ac590 Changes types to fast types 2022-05-19 16:58:24 +02:00
Armin 6e4b89f520 Fixed MagiQuest flaws 2022-05-19 03:02:34 +02:00
Armin 2a0c6b383e Documentation 2022-05-19 01:46:47 +02:00
Armin 9dcf45d7e6 LongUnion 2022-04-17 15:29:33 +02:00
Armin 9e1303b9a5 Improved prints 2022-04-09 01:49:40 +02:00
Armin c64b1c5bd4 Documentation for adding new protocol 2022-03-30 11:55:04 +02:00
Armin 56c6e661f4 Changed TOLERANCE TOLERANCE_FOR_DECODERS_MARK_OR_SPACE_MATCHING and documented it 2022-03-24 09:15:37 +01:00
Armin bd992818f7 Documentation 2022-03-04 17:06:44 +01:00
Armin 3d1de339f3 Switched Bose internal protocol timing for 0 and 1 -> old 1 timing is now 0 and vice versa. 2022-02-20 19:17:03 +01:00
Armin 0ef17d23ae Fixes #973 ESP8266 problem with Feedback LED. Thanks to hneel! 2022-02-18 01:06:01 +01:00
Armin 648fa78cf6 Separated enable flag of send and receive feedback LED. Inspired by PR#970 from luvaihassanali. 2022-02-12 09:32:15 +01:00
Armin 1f04488319 Documentation 2022-02-05 11:07:49 +01:00
Armin b512cdd77f ATtiny3217 support 2022-02-01 00:53:21 +01:00
Matthieu Mitrani 47bdba116c
Checks DECODE_DISTANCE before including protocols (#963)
Similar to the already checked `defined(DECODE_HASH)`, I've added a check on `defined(DECODE_DISTANCE)` if only pulse width / distance is required.
2022-01-31 12:44:41 +01:00
Armin 4397e1b36f Closes #962 2022-01-29 13:15:51 +01:00
Armin 8622513f23 Closes #961 2022-01-28 20:39:30 +01:00
Armin 93ccc67555 Closes #959 2022-01-28 01:19:02 +01:00
Armin fb798a5505 RP2040 support 2022-01-27 14:50:33 +01:00
Armin 3abaa7a7c6 Bumped version to 3.6.0 2022-01-27 04:41:35 +01:00
Armin 1ce638b7f6 RP2040 support added.
- Refactored IRTimer.hpp.
- Refactored IR_SEND_PIN and IrSender.sendPin handling.
- Renamed IR_SEND_DUTY_CYCLE to IR_SEND_DUTY_CYCLE_PERCENT.
- Fixed bugs for SEND_PWM_BY_TIMER active.
2022-01-27 04:01:04 +01:00
Thomas Friedrichsmeier 2077fd1f50
Add pi pico support (#955)
* Documentation

* Add support for Pi Pico and other RP2040 boards (non-mbed core)

Only receive was tested.

Co-authored-by: Armin <armin.joachimsmeyer@gmail.com>
Co-authored-by: Thomas Friedrichsmeier <thomas.friedrichsmeier@kdemail.net>
2022-01-23 15:23:16 +01:00
Armin 37a05fa087 Documentation 2022-01-23 15:20:10 +01:00
Armin 62513814d5 Documentation 2022-01-12 13:33:34 +01:00
Paul Stoffregen eb7a6e251d
Update IRTimer.hpp for Teensy boards (#928) 2021-12-21 21:51:28 +01:00
Armin 8cd76d13b9 Fix ESP32 send bug. closes #927 Version 3.5.1. 2021-12-15 14:39:48 +01:00
Armin ea9b467ee0 Removed NO_LEGACY_COMPATIBILITY macro. Added table of contents. 2021-12-08 14:57:39 +01:00
Armin 62ab0e265f NO_LED_FEEDBACK_CODE replaces and extends DISABLE_LED_FEEDBACK_FOR_RECEIVE 2021-12-08 01:31:27 +01:00
Armin 821bb65a45 Support for ATmega88 see #923. Thanks to Dolmant. 2021-12-03 14:18:46 +01:00
Armin 823c53f3b4 Documentation and fix of ATmega4209 send pin bug. Closes #921 2021-12-01 23:10:31 +01:00
Armin 64880c2141 Renamed INFO_PRINT to IR_INFO_PRINT as well as for DEBUG and TRACE. Fixed error with DEBUG in TinyIRReceiver.hpp. 2021-11-29 13:41:03 +01:00
Armin 82a3b7ddab Documentation 2021-11-17 14:55:29 +01:00
Asuki Kono a44f93e82e
Feature/update around printing pronto (#908)
* Apply size_t to compensateAndDumpSequence for String

* Print prontoData with lower case
2021-11-10 01:08:48 +01:00
Armin 1619728a7a 3. and last phase renamed .cpp to .hpp. Bumped version to 3.5.0 2021-11-08 10:12:48 +01:00
Armin 15a1fbc8d0 Used IR_SEND_PIN to reduce code size and improved send timing for AVR. 2021-11-03 12:20:02 +01:00
Armin dc67b3b4c8 Removed bug inserted with #905 2021-11-01 19:58:11 +01:00
Armin 711179d611 Added printActiveIRProtocols() function. 2021-10-30 19:10:27 +02:00
Asuki Kono 32f9c51a99
Update around printing pronto (#907)
* Use size_t to index for printing dump sequence to print info that is longer than 255
* Add tailing semicolon to pronto
2021-10-30 17:28:36 +02:00
Armin 9acbb72760 Maintained MagiQuest by E. Stuart Hicks. Closes #905 2021-10-30 09:50:38 +02:00
Armin 720f77dd9c Improved IRCommandDispatcher 2021-10-24 23:44:32 +02:00
Armin dd3b0cd1f9 Renamed ac_LG.cpp to ac_LG.hpp. 2021-10-22 23:23:01 +02:00
Armin 2b61384ec7 No deprecation print for ATtinies. 2021-10-18 00:53:51 +02:00
Armin c131dcc877 2. phase renamed *.cpp.h to .hpp 2021-10-17 19:34:24 +02:00
Armin 597d7b51a6 Tone for ESP32 2021-10-17 19:17:26 +02:00
Armin 46f319002c Improved ir_DistanceProtocol 2021-10-16 20:35:12 +02:00
Armin 1724d40fff Release 3.4.0 2021-10-08 14:26:05 +02:00
Armin d3b069e762 Housekeeping 2021-10-07 09:25:36 +02:00
Armin 3a471eedfb Added mbed support 2021-10-03 12:43:42 +02:00
Armin 3549fb5ca2 SendLGAirConditionerDemo 2021-10-02 20:17:10 +02:00
Armin b33d8aa05d Thanks to roger-tannous. Closes #899 2021-09-29 14:47:17 +02:00
Armin 94fa49a0f8 Improved LG protocol and added class Aircondition_LG. Improved ir_DistanceProtocol.cpp to support more than 32 bits. 2021-09-28 21:58:20 +02:00
Armin ed948955e8 Added Kaseikyo convenience functions like sendKaseikyo_Denon() 2021-09-24 16:12:37 +02:00
Armin e238368164 ICACHE_RAM_ATTR problem + Documentation 2021-09-16 22:28:02 +02:00
Armin ef868f6474 Closes #890 2021-09-14 22:46:45 +02:00
Armin 0dc6103435 Renamed *.cpp.h to .hpp. Bumped version to 3.4.0. 2021-09-14 22:45:51 +02:00
Armin cae4f4e16d organized carrier frequencies 2021-09-07 13:41:30 +02:00
Armin e6b39b72df added sendRaw to UnitTest etc. 2021-09-06 23:38:28 +02:00
Armin 82fff9c34c Compiler switch USE_OPEN_DRAIN_OUTPUT_FOR_SEND_PIN added 2021-09-06 21:44:01 +02:00
Armin 6c0722d1ce Moved blink13() back to IRrecv class. closes #889 2021-09-06 10:37:22 +02:00
Armin 61f09c074c Documentation, closes #878 2021-09-02 22:07:45 +02:00
Armin 58a2725663 Documentation 2021-07-27 22:35:27 +02:00
Armin fdca153900 IR_SEND_PIN for ATtiny88 2021-07-27 15:03:49 +02:00
Armin 27fa380bda Repeat detection gap time adjusted 2021-06-26 00:08:03 +02:00
Armin 708d38c880 Modifying digitalWriteFast.h to be compatible with ATTinyCore Digispark Pro default pin mapping. 2021-06-21 03:04:08 +02:00
Armin 39eec4c5ca LG2 protocol 2021-06-16 12:30:17 +02:00
Armin 5e1aac8c7e Use ATTinyCore for MH-ET ATtiny88 board 2021-05-02 01:22:05 +02:00
Armin 58bb87bab1 Documentation 2021-05-02 00:11:41 +02:00
Armin 22451e789a Bumped version to 3.3.0. Added lastDecodedProtocol and CheckForRecordGapsMicros(). 2021-04-30 16:36:54 +02:00
Armin fff3d94c7b Added universal decoder for pulse width or pulse distance protocols 2021-04-28 21:50:45 +02:00
Armin 39da1b609c enabled megaAVR 0-series devices, added getPulseCorrectionNanos() 2021-04-26 22:26:15 +02:00
Armin 5dd88831f2 added check for MINICORE, moved macros for better readability of code 2021-04-26 21:50:31 +02:00
Armin e48209b759 Fixed error for AVR timer1. Thanks to alexbarcelo. 2021-04-24 21:27:48 +02:00
Armin 4d44d054c2 Fix errors if LED_BUILTIN is not defined 2021-04-24 16:32:53 +02:00
Armin b494e0a03e Release 3.2.0 2021-04-22 10:25:33 +02:00
Armin 65ab27e332 Extended DEBUG output 2021-04-17 21:53:36 +02:00
Armin d06e806a9f Rename ledOff to IRLedOff. Support / Messages for F_CPU > 16 MHz. 2021-04-11 13:26:18 +02:00
Armin 248012ea1d ESP8266 support 2021-04-11 02:57:50 +02:00
Armin cf374e64f3 Support for old 2.x code 2021-04-10 20:43:01 +02:00
Armin ec94757d47 UnitTest tested for Digispark and ATTiny core 2021-04-09 01:19:07 +02:00
Armin 38f4eb65ee Support for old 2.x code by backwards compatible `decode(decode_results *aResults)` function. Removed USE_OLD_DECODE macro and added NO_LEGACY_COMPATIBILITY macro 2021-04-08 07:59:45 +02:00
Armin 269479301d Added Onkyo protocol 2021-04-08 01:51:03 +02:00
Armin 35b8c11922 Fix for ESP32 send Error, removed `USE_SOFT_SEND_PWM` macro 2021-04-07 18:39:01 +02:00
Armin 2f71012a28 Documentation 2021-04-04 11:01:44 +02:00
Armin 6e5be97c51 Release 3.1.0 2021-03-28 12:56:26 +02:00
Armin adfbfc9c42 Documentation by Ken Shirriff 2021-03-27 02:13:41 +01:00
Armin dfe66adfcc Fix problems with broken receives #828 2021-03-25 14:25:51 +01:00
Armin 65dee31fc6 Fix TinyIRReceiver fixes #825 2021-03-22 18:04:04 +01:00
Armin 3dfb2f1fcc Documentation 2021-03-22 14:50:40 +01:00
Armin 0cfbbcf4c4 Improving mark function 2021-03-22 14:32:09 +01:00
Armin 8007e6539f Reverted RC5 and RC6 to old decode method. 2021-03-18 22:33:50 +01:00
Armin 3283ef7087 Doxygen version.
Use LED_BUILTIN instead of FEEDBACK_LED FeedbackLEDPin is 0. Use F_CPU instead of SYSCLOCK. Remove IRBoardDefs.h and outdated readmdFrench.md.
2021-03-17 22:07:36 +01:00
Armin 0b75958182 Added ATtiny88 support 2021-03-11 16:11:49 +01:00
Armin 1acdcce7b2 cleaned up IRremote(Int).h 2021-03-09 14:00:57 +01:00
Armin 090358a47d Tested for ATtiny85 2021-03-09 01:45:43 +01:00
Armin 2ccae65ef6 Implemented feedback for send. Removed decode_results results. Added unit test and fixed LG send bug. MATCH_MARK() etc. now available as matchMark(). Added PinDefinitionsAndMore.h. 2021-03-08 22:00:16 +01:00
Armin 0bd9f4698f Removed IRremote.cpp.h, renamed MATCH functions 2021-03-06 21:18:43 +01:00
Armin 98772fbe92 Separated timer and LED code 2021-03-06 13:50:49 +01:00
Armin 8deb5ea4e1 refactored board specific code 2021-03-06 01:56:01 +01:00
Armin 56bd4f5876 refactored board specific code 2021-03-04 20:50:18 +01:00
Armin 20bd179bb5 Including assertions 2021-03-03 23:59:56 +01:00
Armin babf91409f refactored board specific code 2021-03-02 21:30:31 +01:00
Armin 36c0226490 Replaced #define DECODE_NEC 1/0 by defining/not defining, USE_SOFT_SEND_PWM is active by default 2021-03-02 15:25:39 +01:00
Armin 6c7cfb2842 Added SIRCS_15_PROTOCOL 2021-03-01 21:29:41 +01:00
Armin 7e6f5490a8 Replaced delayMicroseconds with customDelayMicroseconds and removed NoInterrupt() for send functions, removed SPIN_WAIT macro, sleepMicros() and sleepUntilMicros(). 2021-03-01 13:12:24 +01:00
Armin 31c4ba868c Fixed LG checksum error 2021-03-01 11:39:13 +01:00
Armin 93ade53d65 Fixed decodeSony 20 bit bug. closes #811 2021-02-28 13:58:21 +01:00
Armin 61f2c2cdb0 adapted to TinyCore 0.0.7 2021-02-21 21:53:59 +01:00
Armin 64828bda70 Bumped version to 3.0.2 2021-02-21 21:21:36 +01:00
Armin a7c1c786e9 Refactored receive state machine, RAW_BUFFER_LENGTH is now forced to be even; New function start(uint16_t aMillisToAddToGapCounter) 2021-02-21 00:17:28 +01:00
Armin 8555f3506c Added missing IRAM_ATTR for ESP32. 2021-02-19 13:31:50 +01:00
Armin 926283f57e Improved handling for HASH decoder, Tested for ATtiny85, Added function printIRResultMinimal() 2021-02-19 11:13:30 +01:00
Armin a75a5a6cbf Documentation 2021-02-15 11:03:04 +01:00
Armin d27b1e4e72 Increase RECORD_GAP_MICROS to 11000 2021-02-11 02:14:35 +01:00
Armin 2baa90add3 Bug fix for USE_OLD_DECODE 2021-02-09 11:33:35 +01:00
Armin 9a43cf7b29 Bumped version to 3.0.1 since we have a unauthorized 3.0.0 version in the Arduino Library Manager. 2021-02-08 17:13:30 +01:00
Armin aac8748a3d uint_fast8_t + kHz + ledOff() 2021-02-03 21:31:38 +01:00
Armin 37f218585a Added Apple protocol 2021-02-03 16:07:01 +01:00