43 Commits

Author SHA1 Message Date
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
Marc MERLIN
e3ed422272 Rename ESP32 timer name so that it doesn't conflict with other timers. 2017-03-19 21:28:14 -07: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
Gabriel Staples
a4b6db26f4 Update IRremote.cpp
very minor changes
2016-01-23 21:12:34 -05:00
Gabriel Staples
b226283882 Update IRremote.cpp
Further improved debug formatting, & added F macro to reduce RAM usage during prints.
2016-01-23 21:06:41 -05:00
Gabriel Staples
3e66d76511 Update IRremote.cpp to improve debugging
This is a small change, and definitely an improvement. I simply improved the debugging by stating whether a check passed or failed, for easier identification in debug mode.
2016-01-23 20:18:25 -05:00
Paolo Paolucci
e07c845676 Update version to 2.0.1 2015-09-25 09:23:22 +02:00
Andrea Odetti
dcea4b32ce Merge back irISR.cpp into irRemote.cpp to avoid an issue due to the absence of exported symbols from irISR.cpp
see

https://github.com/z3t0/Arduino-IRremote/issues/214
https://github.com/sudar/Arduino-Makefile/issues/376

In some circumstances the linker skips irISR.cpp

irRemote.cpp is always included (by the linker).

Andrea
2015-09-02 20:19:03 +01:00
Bluechip
835b9d19be Commenting 2015-06-20 17:51:10 +01:00
Bluechip
f46e30720c Bit more code cleanup 2015-06-20 14:42:59 +01:00
Bluechip
315aecdada Broken the source in to manageable chunks - 2KLOC files are not fun to debug!
Utterly failed to reduce the MARK_?? functions back down to MACROs - every time I try, the decoders start failing ...However, I have found a considerable number of bugs in the toolchain, so I'm starting to wonder if the fault is not mine.
2015-06-20 04:29:28 +01:00
Bluechip
0da14cd36b Compiling, all functionality enabled, tested with Panasonic 2015-06-20 01:20:25 +01:00
Bluechip
62696e0f4d Finish sendXXX() cleanup
Move NEC decode to be with NEC send
2015-06-19 00:12:29 +01:00
Bluechip
f5e85e9432 Bit more cleanup
Guests have arrived - sanity checkin
2015-06-18 19:52:22 +01:00
Bluechip
e6ae660100 Optimise send() loops
Query accuracy of sendAiwaRCT501() [see inline comment]
2015-06-18 19:24:21 +01:00
Bluechip
43cbf2d002 Whitespace cleanup on for() loops 2015-06-17 23:12:32 +01:00
Bluechip
4938c307e0 Cleaned up the DEBUG output 2015-06-17 23:04:47 +01:00
Bluechip
4324bb9e99 Reduce one-line-if's down to one line 2015-06-17 22:54:43 +01:00
Bluechip
d6ef2f99fa Standardise function headers for consistent coding style 2015-06-17 22:25:34 +01:00
Bluechip
99d04629bc Standardise commenting as C++ style throughout 2015-06-17 22:16:43 +01:00
Bluechip
b9e5b969f7 Clearly mark the start of every function to aid is source navigation & code maintainability 2015-06-17 21:59:04 +01:00
Levon Saldamli
0ec2bf5696 Changed ifdefs for SEND and DECODE, created enum for decode_type_t. Corrected ifdef errors, issues #121, #122, #123). 2015-04-06 18:17:53 +02:00
Joshua Noble
111c96ab58 merging 110 2015-03-15 13:28:46 -07:00
sstefanov
a8b4269ca7 Added possibility to exclude non-necessary libraries by comment lines in IRremote.h 2015-03-12 14:49:48 +02: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
joshua noble
935ba3f51d Merge pull request #22 from PaulStoffregen/master
Teensy 3.0 compatibility
2014-11-16 07:20:33 -08:00
Piotr Dobrowolski
d9d2b74a30 sendSharp API change to make it compatible with decodeSharp 2014-09-17 22:34:41 +02:00
Piotr Dobrowolski
9e079396d0 Cleanup sendSharp and fix reliability 2014-09-17 22:33:14 +02:00
Darryl Smith
10f2b889c0 Updates for LG Air Conditioner Remote 2014-07-10 08:27:36 +10:00
sstefanov
890ca057f6 Added Samsung protocol 2014-05-23 12:20:39 +03:00
PaulStoffregen
9d8865eda4 Add support for Teensy 3.0 2013-01-20 06:48:13 -08:00
Ken Shirriff
5896bf76b8 mitra changes
Conflicts:
	IRremote.cpp
	IRremote.h
	IRremoteInt.h
	keywords.txt
2012-08-06 23:43:43 -07:00
Kristian Lauszus
4b2dbddd06 Set panasonic carrier frequency to 35 kHz 2012-03-20 22:21:16 +01:00
Kristian Lauszus
29a056daf2 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
dbea1de1a8 Merge branch 'master' of https://github.com/toddtreece/Arduino-IRremote into toddtreece-master 2010-12-09 22:49:55 -08:00
Todd Treece
baede92da0 updated website info in documentation for sharp and dish support 2010-12-08 18:18:37 -05:00
Ken
3fe2e5b99d Support multiple devices and platforms.
Patched in changes from Paul Stoffregen (http://www.pjrc.com/teensy/td_libs_IRremote.html)
2010-11-17 19:19:25 -08:00
Todd Treece
b4847a2685 Updated Sharp protocol documentation 2010-09-20 15:35:29 -04:00
Ken Shirriff
acca27b698 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
6510b2c05c Add Sharp and DISH transmission support.
This change is from Todd Treece:
http://arcfn.com/2009/08/multi-protocol-infrared-remote-library.html?showComment=1264093513759#c3138785324309374640
2010-01-22 23:39:46 -08: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
6ee0dffb4c Initial commit from Irremote.zip 2010-01-22 22:08:26 -08:00