Commit Graph

321 Commits

Author SHA1 Message Date
Armin 4c9e0e5b5e Fixed 4 MHz bug 2021-01-06 16:43:40 +01:00
Armin 7f40acf2d3 Improved and tested LG and JVC, updated template 2021-01-04 20:12:16 +01:00
Armin 29b6cb2133 Documentation 2021-01-04 12:37:29 +01:00
Armin 450d5fbfd4 use TIMER2_COMPB_vect to be compatible with tone() library 2021-01-04 04:49:01 +01:00
Armin 8e2c4e3287 Improved Samsung, added DispatcherDemo and MinimalReceiver, removed Test2, renamed Test 2021-01-04 03:17:35 +01:00
Armin 75f4f7ef0a Included library version number 2021-01-02 15:24:51 +01:00
Armin 8b1d47cebb Improved MagiQuest and LG 2021-01-02 06:20:07 +01:00
Armin 3e808fec61 Replaced Lego and Bosewave, improved and tested others 2021-01-02 02:24:51 +01:00
Armin 1148186fcb Fixed SendRaw interpretation problem - Preparing for version 3 2021-01-01 17:44:38 +01:00
Armin f9d32954c6 More cleanup 2020-12-31 18:54:16 +01:00
Armin 0e9af1e877 Added `dumpPronto(String *aString, unsigned int frequency)` with String object as argument. Thanks to iosifpeterfi closes #727 2020-12-07 12:44:39 +01:00
Armin 302f09a5ee fixed swapped cases in getProtocolString() closes#731 2020-12-07 09:50:13 +01:00
Armin c55628ab24 Handling trailing gap/space inconsistency for raw data. Closes #729 2020-11-28 13:36:51 +01:00
Armin 476d224d39 Closes #728 2020-11-22 19:40:15 +01:00
Armin 0dd763c886 Added SendRaw with byte data. Closes #288 2020-11-04 19:50:07 +01:00
Armin b49d2339d7 Closes #722 2020-10-31 22:42:05 +01:00
Armin 85bf1c76a9 Moved dump/print functions from example to irReceiver 2020-10-25 19:18:57 +01:00
Armin e6c8b1cfbf IR_USE_TIMER_TINY1 2020-10-25 07:26:54 +01:00
Armin efbdb1d440 New example IR2Keyboard 2020-10-20 00:42:25 +02:00
Armin f9674f7ca7 Removed AIWA implementation, added Lego_PF decode. 2020-10-19 22:23:50 +02:00
Armin 688607fda1 New example IR2Keyboard 2020-10-19 21:44:38 +02:00
Armin ba3a7b9d1c - Removed Mitsubishi protocol, since the implementation is in contradiction with all documentation I could found and therefore supposed to be wrong. 2020-10-19 21:22:17 +02:00
Armin 27bb3c1165 Changed license to MIT Closes #397 2020-10-19 14:47:29 +02:00
Armin 052e160a37 Added support for sendRC6() with 64 bit data 2020-10-12 11:11:16 +02:00
Armin e8f8f2dd63 - Optimized types in sendRC5ext and sendSharpAlt.
- Added `DECODE_NEC_STANDARD` and `SEND_NEC_STANDARD`.
- Renamed all IRrecv* examples to IRreceive*.
- Added functions `printResultShort(&Serial)` and `getProtocolString(decode_type_t aDecodeType)`.
- Added flag `results.isRepeat`.
- Updated examples.
2020-09-16 13:13:31 +02:00
Armin 4cadabb872 Removed blocking wait for ATmega32U4 Serial 2020-09-11 17:16:05 +02:00
Armin 3516e67038 Documentation 2020-08-25 23:36:35 +02:00
Armin 1fa587db37 NRF5 support 2020-08-20 00:26:35 +02:00
Armin 2992d5e87a Refactoring and NEC Standard implementation 2020-08-19 22:38:52 +02:00
Armin aac2a96637 Closes #21 2020-08-17 15:40:38 +02:00
Armin 6864939ce2 Release 2.5.0 2020-07-19 10:54:02 +02:00
Armin 206ad7ea4f Fixed USE_NO_CARRIER bug, closes #315 2020-07-14 19:31:52 +02:00
Bengt Martensson f94b857562
Pronto implementation (#702)
* Delete existing, broken Pronto stuff.

* Implement sendPronto and dumpPronto.

* Fix some non-portable types.

* Set IR_RECEIVE_PIN to the common one.
2020-07-11 18:40:10 +02:00
Armin a8a403cf98 Renamed MARK_EXCESS and USECPERTICK, fixes #700 2020-07-07 15:44:36 +02:00
Armin 07e9bbade2 Renamed MARK_EXCESS and USECPERTICK, fixes #700 2020-07-07 15:37:30 +02:00
Armin 2bce3d6936 Renamed MARK_EXCESS and USECPERTICK, fixes #700 2020-07-07 15:25:14 +02:00
Armin 95c8330d81
Merge pull request #460 from bengtmartensson/microgirs
New file MicroGirs.ino.
2020-07-05 19:37:22 +02:00
Bengt Martensson 90a86e7ac4
Updated, tuned, and documented MicroGirs.ino. 2020-07-05 18:30:17 +02:00
Armin 7f7f68cedd Avoid Leonardo warning 2020-07-04 05:31:07 +02:00
Armin 8abc69daac Added function sendRaw_P() for sending data from flash, closes #238 2020-07-04 02:12:00 +02:00
Armin b6a9ddad40 Added function sendRaw_P() for sending data from flash, closes #238 2020-07-04 02:00:50 +02:00
Armin 0d4805a129 Manually included changes, closes #268 2020-07-03 22:38:36 +02:00
Armin 3271e1c204 Changed rawlen from uint8_t to unsigned int 2020-07-03 17:01:23 +02:00
Armin 1433dacd51 Changed rawlen from uint8_t to unsigned int 2020-07-03 16:18:09 +02:00
Armin 8f9452ba17 ESP32 sending 2020-07-03 16:09:26 +02:00
Armin 3eea1d7e96 Add alternative Sharp decode and send functions. closes #383 2020-07-02 05:05:40 +02:00
Armin 1cbcbbc40a renamed STATE's Closes #676 2020-07-01 21:47:27 +02:00
Armin f47f611ccb baud rate to 115200, closes 457 2020-07-01 21:11:23 +02:00
Armin 60248a5604 baud rate to 115200, closes 457 2020-07-01 20:46:29 +02:00
Armin b65fc8406d closes #594 2020-06-24 02:58:15 +02:00
Armin 8834de0bf0 Fixed BOSE PR 2020-06-24 02:09:34 +02:00
Armin f8439f0b6a Merge remote-tracking branch 'bose/add-bosewaveradio-support' 2020-06-24 01:18:01 +02:00
Armin 3182cd14d6 ESP32 and SAMD tests + ProMicro changes from master for easy merging 2020-06-01 03:47:09 +02:00
Armin 52b231251f Tested 5 examples for AVR 2020-05-29 00:24:53 +02:00
Armin f737aabfdd Revert possible error in if condition not existent in master and introduced in beta 2020-05-28 17:34:05 +02:00
Armin e7a208fd33 Function declarations for non Arduino IDE's 2020-05-27 18:56:12 +02:00
Thomas Koch 5deea03eef Add Bose Wave Radio Example Sketches
- Add BOSEWAVE to relevant send and receive example sketches.  Add a  test sketch specifically for a Bose Wave Radio.
2020-05-24 15:06:10 -04:00
Kruemmelspalter 93079eb310
Add SAMSUNG to IRRecord.ino
It wasn't included and said: "Unexpected codeType 7"
2020-05-20 18:23:20 +02:00
PaulStoffregen 1154607b69 Fix minor compiler warnings in examples 2017-09-04 20:48:37 -07:00
Bengt Martensson 24dd940107 Moving private includes to sub-directory, #464 (#507)
* Add missing "paragraph" to library.properties.

* Move not-to-be-exported includes to subdirectory.
Remove #include "IRremoteInt.h" from a number of files since it
now does not work any more, and since IRremote.h #includes it already.
This resolves #464.

* Remove #include <IRremoteInt.h> from examples, too.

* Make ir_Lego_PF_BitStreamEncoder.h exported (again).

* Revoked fe24095 (paragraph) to keep 1-1 correspondance to #464.
2017-08-20 15:49:57 -06:00
Rafi Khan 542516f116 Revert "Removed pronto "protocol""
This reverts commit 563c82c6c4.
2017-08-13 12:03:54 -06:00
Rafi Khan 563c82c6c4 Removed pronto "protocol"
Fixes #466
2017-08-13 11:46:58 -06:00
Rafi Khan 679348568d merge #437 2017-08-10 16:57:54 -06:00
Bengt Martensson 0913c94bdf New file MicroGirs.ino. 2017-04-23 13:12:34 +02:00
Marc MERLIN ffdb6081ae Merge branch 'master' into master 2017-03-31 22:04:36 -07:00
Marc MERLIN 6b8f2bdbfc move comment about 'or else' chips that use TIMER2. 2017-03-31 22:01:31 -07:00
Marc MERLIN eae9de4307 Cleaned up ESP32 integration, reverted ESP32 ifdefs on irreceive examples.
- fixed indenting on existing code in a few places for consistency
- introduced IR_TIMER_USE_ESP32 for ifdefs within the code as per
  request
- added comments explaining what's missing for irsend support on ESP32
- IRrecvDemo.ino gets a warning before and after interrupt is enabled in
  case it causes a crash

TESTED=IoTuz ESP32 board and original 328p arduino to make sure current
code did not break.
2017-03-31 21:52:52 -07:00
Philipp Henkel 257a15130f Fix calculation of pause length in LEGO PF protocol
Fix #384 Integer overflow in LEGO Power Functions affects pause between
messages
Is rebased version of PR #385
2017-03-26 22:32:55 +02:00
Marc MERLIN aa8f7b31fe Added ESP32 IR receive support (IRsend not implemented yet).
- disable a lot of defines not relevant to ESP32, set them to 1 (no-op)
- change default IR pin to 35 from 11
- changed serial speed to 115200 (9600 is too slow to keep up with IR input)
- irSend disables code that will not compile on ESP32. It won't work,
  but it won't break compilation either.
2017-03-19 20:27:56 -07:00
Rafi Khan 3b41130ff9 Manual merge of #398 2017-01-22 01:52:14 -06:00
Felipe Noronha 9a74475c8d fix example error message 2017-01-13 11:58:40 -02:00
Philipp Henkel a9385b92d8 Add Lego Power Functions tests 2016-07-26 22:27:33 +02:00
Hans 75960b95f6 Added ATmega48 and ATmega88 2016-07-15 22:27:57 +02:00
Hans f9a41c99c8 There's no such thing as an ATmega8P 2016-06-26 12:04:52 +02:00
Hans bc15ded405 Added more microcontrollers to the list 2016-06-26 12:02:25 +02:00
Philipp Henkel 34e5cd87ca Add Lego Power Functions send protocol 2016-04-27 21:57:57 +02:00
Rafi Khan 1c3275f228 Merge branch 'master' of git://github.com/lumbric/Arduino-IRremote into lumbric-master
working on merging #54
2016-02-20 23:33:11 -06:00
AnalysIR 711ebd7d92 Create IRremoteInfo.ino
A helper tool to assist in supporting troubleshooting with IRremote.
Prints all of the current settings applied within the users IRremote set-up.
A description og the utility is available here: http://www.analysir.com/blog/2015/11/28/helper-utility-for-troubleshooting-irremote/
2015-11-28 21:11:08 +00:00
Rafi Khan 55f3e27866 Merge pull request #213 from AnalysIR/master
Update IRrecvDumpV2.ino
2015-08-28 16:43:43 -06:00
AnalysIR f985c4b318 Update IRrecvDumpV2.ino
- Cleaned up layout of output, removed trailing commas
- buffer sizes are now correct
- no need to add 0 for space at end, as sendRAW takes care of this
2015-08-28 15:56:18 +01:00
chaeplin a237a0e393 typo 86 / 30 2015-08-28 04:15:04 +09:00
chaeplin 27777e89b2 decoding for LG A/C 2015-08-28 04:02:47 +09:00
chaeplin 0ef30ed227 Fahrenheit 2015-08-28 03:36:26 +09:00
chaeplin d87707d0ec add heating 2015-08-27 21:09:30 +09:00
chaeplin d8bdbb1a44 typo 2015-08-27 21:04:34 +09:00
chaeplin 3fcb071d36 heating 2015-08-27 21:01:26 +09:00
chaeplin b4c8e6b22c Revert "Revert "heating""
This reverts commit e6bcf89664.
2015-08-27 20:58:38 +09:00
chaeplin e6bcf89664 Revert "heating"
This reverts commit df34396969.
2015-08-27 20:58:00 +09:00
chaeplin df34396969 heating 2015-08-27 20:55:40 +09:00
Rafi Khan 77fd51e891 Merge pull request #203 from chaeplin/LG_AC
adding SEND_LG
2015-08-26 16:10:11 -06:00
AnalysIR 61f00b8dc5 Update IRrecvDumpV2.ino
Fixed presentation & 2 bugs.

Presentation: No longer display leading space in timings, as is confusing to users & essentially irrelevant.
Bug Fix 1: rawData was starting with a space & would not work with sendRaw
Bug Fix 2: chaned x from unsigned int to nsigend long to avoid potential overflow on integer multiplication.

very similar to recent changes to IRrecDump #167  #207
2015-08-25 01:00:56 +01:00
AnalysIR bd72084b7f Bug fixes as per Issue #167
Have updated IRrecvDdump to fix bugs described in Issue: #167

In summary, removed bug where large space values were displayed incorrectly & confusing users. The output now always starts with a mark, instead of a space, which makes it easier to interpret and less confusing for users.

refer to #167 for more detials.

The update has been tested with several protocols (but not all) and verified as working.
2015-08-25 00:34:54 +01:00
AnalysIR 339a7969c9 Delete IRsendRawDemo.ino
moved to own folder to maintain consistency with other examples
2015-08-24 21:26:08 +01:00
AnalysIR 0abc9f0908 Create IRsendRawDemo.ino
New example should go into new fordel of same name...sorry
2015-08-24 21:25:22 +01:00
AnalysIR 61d0263c5b Rename IRsendRawDemo to IRsendRawDemo.ino
forgot to put .ino extension on file.

now corrected
2015-08-24 21:21:46 +01:00
AnalysIR e9d43f7751 Create IRsendRawDemo
As sendRaw is a very popular methos of sending unknown or AC signals, I though it would be very useful to include and example of same with the library.

The code in this new example is tested and verified as working with the latest Master.
2015-08-24 21:17:23 +01:00
AnalysIR d433744ec7 Update IRsendDemo.ino
As written this example will cause issues with some IR receivers. On the face of it it sends teh sony signal burst 3 times with a 40ms gap. However, it really continues to send the sony signal forever with a 40ms gap.

There needs to be a reasonable gap between signals sent & I have added in a 5 sec gap as a reasonable figure.

Without a gap, many IR receivers will treat this signal as noise as it send continuous sony bursts with a 40 ms gap.
2015-08-24 20:37:41 +01:00
chaeplin ec371483ac adding SEND_LG 2015-08-22 19:06:22 +09:00
AnalysIR f83fe2b70f Update IRrecvDumpV2.ino
looks like this multiplier was omitted and needs to be include to make the output meaningful/useful???

Would also explain some weird output I have seen posted.
2015-08-20 15:53:50 +01:00
AnalysIR 1fd88cd308 change int to unsigned int in IRrecvDumpV2
some larger values could overflow to negative numbers, with unsigned int (vs int)
2015-08-20 15:46:23 +01:00
Rafi Khan c058f3f336 solves #195 2015-08-12 14:16:51 -06:00
Rafi Khan 6a10861a44 Update IRsendDemo.ino 2015-07-30 11:43:59 -06:00
Rafi Khan 1e519b1bf3 added isIdle Method for receiving, #48 2015-07-23 19:39:46 -06:00
Rafi Khan dcd06fa0ef Add support for ATtiny85 2015-07-23 19:12:23 -06:00
Rafi Khan 555a600acc Added pin variable in IRrecvDumpV2 2015-07-11 15:22:18 -06:00
Bluechip 4e5608f25f https://github.com/shirriff/Arduino-IRremote/issues/156
Improve output for recvDumpV2
Added my name to the contributors list (not 'cos I really care for the credit <whatever> but so people know who to "blame" [non-pejorative])
Moved the decode() function to the top of the source as it is likely to be edited the most
2015-06-22 21:23:53 +01:00
Bluechip 78e9b87a34 Add Denon support
Improve comments
Fixup DECODE_AIWA_RC_T50
Simplify template
2015-06-21 01:20:44 +01:00
Bluechip 593e0a3ee3 Improve documentation and fixup IRrecvDumpV2.ino 2015-06-20 22:08:13 +01:00
Bluechip ae477413de Fixup old examples
Add new example
2015-06-20 22:03:00 +01:00
Joshua Noble 117059a17f merging 110 2015-03-15 13:28:46 -07:00
Christian Musa bed4cc5c97 Added Aiwa protocol (remote control RC-T501).
Added Aiwa protocol (remote control RC-T501) based on lirc file.
Updated IRrecvDump example, added SendDemo example (AiwaRCT501SendDemo).
2015-03-08 19:40:03 -03:00
Francesco Meschia 0fce321c94 Added Whynter A/C remote protocol
Tested with Whynter ARC-110WD
2015-02-06 21:29:56 -08:00
P THE AWESOME 18591b037c Add delay to IRrecvDemo Loop preventing duplicates
Prevents duplicates in serial when button was only pressed once.
2014-08-04 16:19:07 -05:00
Darryl Smith 66c3b1f47c Updates for LG Air Conditioner Remote 2014-07-10 08:27:36 +10:00
lumbric (antares) 1c57c6a9b0 adding Panasonic and JVC types for IRrecord 2014-02-20 21:35:50 +01:00
Kristian Lauszus 753e52efe7 Added panasonic and JVC protocol
Most work already done by zenwheel, but the sendPanasonic command
didn't work. Sending and decoding is confirmed to work with using both
the JVC and Panasonic protocol.
The library has also been updated to work with Arduino IDE 1.0.
2012-02-08 18:09:18 +01:00
Ken 114d8afe67 Add Test2.
This tests functionality using a pair of Arduinos.
2010-11-15 22:05:16 -08:00
Ken Shirriff 31d80abc3f Fix CRLF issues.
Many problems happen with git due to some machines liking CRLF at the
end of lines, and others linking CR.  To try to straighten this out,
I'm using Unix-style LF (\n) as the line endings.  To make sure your
repository remains consistent, try:

$ git config --global core.autocrlf input

For details, see:
http://help.github.com/dealing-with-lineendings/
2010-05-15 15:21:48 -07:00
Ken Shirriff e12e9eaac8 Add "hash encoding" to generate a value for unknown encodings.
For an unknown encoding, an arbitrary 32-bit value will be generated.
2010-01-22 23:26:54 -08:00
Ken Shirriff c6ec2fd003 Reduce gap between Sony messages. This should work more reliably. 2010-01-22 23:02:19 -08:00
Ken Shirriff 6ee0dffb4c Initial commit from Irremote.zip 2010-01-22 22:08:26 -08:00