Can the AC IR decode and send functionalities be separately enabled/disabled? #1722
-
I would like to use only the IR sending part of the library with full protocol support. From my reading of the
Is it already possible to enable every AC protocol's send functionality alone? If not, what would be the most straightforward way to add such a functionality? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you don't use the "receiving" functionality (i.e. No Ditto for "receiving only". If you only want to decode, and don't use the Similarly, if you stick to using protocol specific send routines e.g. Soooo ... That means you don't really need to add the functionality you're thinking of as the compiler/linker already does that for you. To put it another way:
|
Beta Was this translation helpful? Give feedback.
If you don't use the "receiving" functionality (i.e. No
#include <IRrecv.h>
) , it shouldn't be included in your code. So, technically you don't need to disable it. If you do invoke/use it, then it will include the whole lot as per_IR_ENABLE_DEFAULT_
etc.Ditto for "receiving only". If you only want to decode, and don't use the
sendBlah()
/send()
etc routines, it won't include any of that sending code in your program.Similarly, if you stick to using protocol specific send routines e.g.
sendNEC()
,sendKelvinator()
, etc. It will onl…