Commit Graph

6 Commits

Author SHA1 Message Date
AnalysIR
7925fcd36b changes to senRAW, mark,space,custom_delay_usec
parameters changed from int to unsigned int to allow longer mark/space durations and signal length.hz changed to allow for potential future use of 455kHz carrier frequency. (Ther may be existing modes to the library, using this frequency)

removed "asm" workaround for compiler, because it was not need ed on my system.
Original autor should verify this again. It could be alternatice compiler optimization settings?
Alternatively, place the volatile keyword before the variables in the function to avoid the "optimization out"
2015-08-19 23:17:03 +01:00
Paul Coughlin
ee655f09ea update custom_delay function
Use micros() to delay based on "real-time" instead of approximation with
delay() or delayMicroseconds()

Changed name to _usec to correspond to MicroSeconds.
_ms is MilliSeconds.
2015-08-14 20:22:34 -06:00
Rafi Khan
5ee3905157 Fixed delay method by replacing delayMicroseconds call with a loop if
it is too long.
2015-08-13 16:54:59 -06:00
Rafi Khan
b4c0143dca Working on sendRaw Bug 2015-08-10 13:53:56 -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
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