Commit Graph
4 Commits
Author SHA1 Message Date
crankyoldgit dc0cbee5aa Use strtoul() instead of custom code.
A standard function exists to convert c-style strings to unsigned longs.
2017-01-09 18:03:23 +10:00
crankyoldgit 5badae32ee Fix Sharp and DISH IR protocol bit lengths
sendSharp is called by sendSharp(address, command), not (data, bits). However, we can call sendSharpRaw(data, bits).
The DISH IR protocol appears to have 16 bits of data.
2017-01-07 18:01:03 +10:00
crankyoldgit 8b310eb6e6 Coolix IR protocol has 3 bytes of data
3 bytes == 24 bits.
2017-01-07 17:47:39 +10:00
crankyoldgit 5775f3fe63 Correct the bit lengths of various IR protocols
Disable Panasonic codes as it is called wrong.
Store data in an unsigned variable, vs a signed on, otherwise it produces bad results for high numbered codes.
Mark protocols that are > 32 bits as they won't work with values large than an unsigned long (32 bits).
2017-01-06 13:03:01 +10:00