Commit Graph

43 Commits

Author SHA1 Message Date
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
Marc MERLIN
1b56da6cc7 Rename ESP32 timer name so that it doesn't conflict with other timers. 2017-03-19 21:28:14 -07: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
Gabriel Staples
e4933e809e Update IRremote.cpp
very minor changes
2016-01-23 21:12:34 -05:00
Gabriel Staples
92092df7a0 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
ed1a2a2153 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
d7a4c4e0c8 Update version to 2.0.1 2015-09-25 09:23:22 +02:00
Andrea Odetti
5b82539954 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
813a3038ab Commenting 2015-06-20 17:51:10 +01:00
Bluechip
a1cf782c44 Bit more code cleanup 2015-06-20 14:42:59 +01:00
Bluechip
88e243fe06 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
04e2cfbdad Compiling, all functionality enabled, tested with Panasonic 2015-06-20 01:20:25 +01:00
Bluechip
5f92834a12 Finish sendXXX() cleanup
Move NEC decode to be with NEC send
2015-06-19 00:12:29 +01:00
Bluechip
a338d5525a Bit more cleanup
Guests have arrived - sanity checkin
2015-06-18 19:52:22 +01:00
Bluechip
001ccf9425 Optimise send() loops
Query accuracy of sendAiwaRCT501() [see inline comment]
2015-06-18 19:24:21 +01:00
Bluechip
6af9a1b485 Whitespace cleanup on for() loops 2015-06-17 23:12:32 +01:00
Bluechip
7d926499b4 Cleaned up the DEBUG output 2015-06-17 23:04:47 +01:00
Bluechip
7f1387278f Reduce one-line-if's down to one line 2015-06-17 22:54:43 +01:00
Bluechip
c45b84f65c Standardise function headers for consistent coding style 2015-06-17 22:25:34 +01:00
Bluechip
64698fd24b Standardise commenting as C++ style throughout 2015-06-17 22:16:43 +01:00
Bluechip
942dcf4051 Clearly mark the start of every function to aid is source navigation & code maintainability 2015-06-17 21:59:04 +01:00
Levon Saldamli
d336bc541a 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
117059a17f merging 110 2015-03-15 13:28:46 -07:00
sstefanov
549d92d2f5 Added possibility to exclude non-necessary libraries by comment lines in IRremote.h 2015-03-12 14:49:48 +02: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
joshua noble
a881523044 Merge pull request #22 from PaulStoffregen/master
Teensy 3.0 compatibility
2014-11-16 07:20:33 -08:00
Piotr Dobrowolski
5719e7c00f sendSharp API change to make it compatible with decodeSharp 2014-09-17 22:34:41 +02:00
Piotr Dobrowolski
95f93e639e Cleanup sendSharp and fix reliability 2014-09-17 22:33:14 +02:00
Darryl Smith
66c3b1f47c Updates for LG Air Conditioner Remote 2014-07-10 08:27:36 +10:00
sstefanov
0de2d18bdb Added Samsung protocol 2014-05-23 12:20:39 +03:00
PaulStoffregen
9ba6628f04 Add support for Teensy 3.0 2013-01-20 06:48:13 -08:00
Ken Shirriff
e03a593847 mitra changes
Conflicts:
	IRremote.cpp
	IRremote.h
	IRremoteInt.h
	keywords.txt
2012-08-06 23:43:43 -07:00
Kristian Lauszus
c48f817593 Set panasonic carrier frequency to 35 kHz 2012-03-20 22:21:16 +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
4131d5bbb6 Merge branch 'master' of https://github.com/toddtreece/Arduino-IRremote into toddtreece-master 2010-12-09 22:49:55 -08:00
Todd Treece
ccb4ac32c2 updated website info in documentation for sharp and dish support 2010-12-08 18:18:37 -05:00
Ken
2eb19be290 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
9bc832ec55 Updated Sharp protocol documentation 2010-09-20 15:35:29 -04: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
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