58 Commits

Author SHA1 Message Date
PaulStoffregen
a0a0c7eb78 Fix minor compiler warnings in examples 2017-09-04 20:48:37 -07:00
Marc MERLIN
0774bbb27a Merge branch 'master' into master 2017-03-31 22:04:36 -07:00
Marc MERLIN
c292b40ea2 move comment about 'or else' chips that use TIMER2. 2017-03-31 22:01:31 -07:00
Marc MERLIN
53ebde2c3c 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
9105de0936 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
da8ffb78d5 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
8cb322d159 Manual merge of #398 2017-01-22 01:52:14 -06:00
Felipe Noronha
b01619d457 fix example error message 2017-01-13 11:58:40 -02:00
Philipp Henkel
749125db09 Add Lego Power Functions tests 2016-07-26 22:27:33 +02:00
Hans
6e00f0b855 Added ATmega48 and ATmega88 2016-07-15 22:27:57 +02:00
Hans
d70289787a There's no such thing as an ATmega8P 2016-06-26 12:04:52 +02:00
Hans
1e2c546064 Added more microcontrollers to the list 2016-06-26 12:02:25 +02:00
Philipp Henkel
a2331b607d Add Lego Power Functions send protocol 2016-04-27 21:57:57 +02:00
Rafi Khan
20f0368ca2 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
47569a245e 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
481972658d Merge pull request #213 from AnalysIR/master
Update IRrecvDumpV2.ino
2015-08-28 16:43:43 -06:00
AnalysIR
a07587f252 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
c326a4e073 typo 86 / 30 2015-08-28 04:15:04 +09:00
chaeplin
79d9cc78c5 decoding for LG A/C 2015-08-28 04:02:47 +09:00
chaeplin
67f0bf2f9a Fahrenheit 2015-08-28 03:36:26 +09:00
chaeplin
ac1b2d28dd add heating 2015-08-27 21:09:30 +09:00
chaeplin
72d3d4dc26 typo 2015-08-27 21:04:34 +09:00
chaeplin
0f03eeeaf2 heating 2015-08-27 21:01:26 +09:00
chaeplin
969b34fcc4 Revert "Revert "heating""
This reverts commit ee067b1cb3.
2015-08-27 20:58:38 +09:00
chaeplin
ee067b1cb3 Revert "heating"
This reverts commit 594722ad4d.
2015-08-27 20:58:00 +09:00
chaeplin
594722ad4d heating 2015-08-27 20:55:40 +09:00
Rafi Khan
a5c2833e11 Merge pull request #203 from chaeplin/LG_AC
adding SEND_LG
2015-08-26 16:10:11 -06:00
AnalysIR
54e22eba82 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
646a93a9cd 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
03c8fedd02 Delete IRsendRawDemo.ino
moved to own folder to maintain consistency with other examples
2015-08-24 21:26:08 +01:00
AnalysIR
c9ffe47ae1 Create IRsendRawDemo.ino
New example should go into new fordel of same name...sorry
2015-08-24 21:25:22 +01:00
AnalysIR
c09ade268a Rename IRsendRawDemo to IRsendRawDemo.ino
forgot to put .ino extension on file.

now corrected
2015-08-24 21:21:46 +01:00
AnalysIR
b84825f261 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
50fa64bfad 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
97078a581a adding SEND_LG 2015-08-22 19:06:22 +09:00
AnalysIR
3d3c2b9b28 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
ef4ba97522 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
25424cb5d8 solves #195 2015-08-12 14:16:51 -06:00
Rafi Khan
2dcc37ab0a Update IRsendDemo.ino 2015-07-30 11:43:59 -06:00
Rafi Khan
07236dd6d5 added isIdle Method for receiving, #48 2015-07-23 19:39:46 -06:00
Rafi Khan
67330bb22c Add support for ATtiny85 2015-07-23 19:12:23 -06:00
Rafi Khan
0b0719045e Added pin variable in IRrecvDumpV2 2015-07-11 15:22:18 -06:00
Bluechip
48b77fe90a 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
87639f8b45 Add Denon support
Improve comments
Fixup DECODE_AIWA_RC_T50
Simplify template
2015-06-21 01:20:44 +01:00
Bluechip
89d82ad930 Improve documentation and fixup IRrecvDumpV2.ino 2015-06-20 22:08:13 +01:00
Bluechip
e213019fca Fixup old examples
Add new example
2015-06-20 22:03:00 +01:00
Joshua Noble
111c96ab58 merging 110 2015-03-15 13:28:46 -07:00
Christian Musa
3327011ec8 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
723ceccd05 Added Whynter A/C remote protocol
Tested with Whynter ARC-110WD
2015-02-06 21:29:56 -08:00
P THE AWESOME
453939814a 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