Skip to content

Can the AC IR decode and send functionalities be separately enabled/disabled? #1722

Answered by crankyoldgit
Blend3rman asked this question in Q&A
Discussion options

You must be logged in to vote

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?

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…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Blend3rman
Comment options

Answer selected by Blend3rman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants