Commit Graph

12 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
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
Felipe Noronha
9a74475c8d fix example error message 2017-01-13 11:58:40 -02: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
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
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
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