Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IRsendRaw #114

Open
mafokken opened this issue Apr 29, 2022 · 0 comments
Open

IRsendRaw #114

mafokken opened this issue Apr 29, 2022 · 0 comments

Comments

@mafokken
Copy link

I'm trying to use NEC, NECx, and raw IR protocols in the same arduino program.

I tried the following code and it gave me the following error - 'IRsendRaw' does not name a type; did you mean 'IRsendRC6'?

#include <IRLibAll.h>
IRsendRaw mySender;
(The same happens with IRLib2.h)

.
But this does work:

#include <IRLibSendBase.h> //We need the base code
#include <IRLib_P01_NEC.h>
#include <IRLib_P07_NECx.h>
#include <IRLib_HashRaw.h> //I think this one needs to be last
#include <IRLibCombo.h> //We need the combiner

IRsendRaw mySender;

.
Not sure if this is a bug or just me not reading the manual good enough.

.
As a side note, with IRLibAll and IRLib2, I couldn't get this to work:

#include <IRLibAll.h>
IRsend mySender;

void loop()
{
mySender.sendRaw(myRawIRCodesData,36,36)
}
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant