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

Transceive, Rexeive_Raw, Send_Button, Send_Serial example doesnt compile! #28

Open
m5sib opened this issue Sep 3, 2019 · 2 comments
Open

Comments

@m5sib
Copy link

m5sib commented Sep 3, 2019

For a library that is supposed to better than the "standard" library it has many issues.

Transceive and Receive_Raw says CIRLRemote does not name a type
and
Send_Button and Send_Serial says IRLwrite not declared in this scope

its very frustrating to try a new library and half the examples don't work especially when the NEC codes your library uses is different than what the "standard" library uses so when trying to figure it out by trying different things and looking at the examples becomes impossible because you cant even compile the examples.

Arduino: 1.8.9 (Windows 10), Board: "Arduino/Genuino Uno"

Transceive:35:1: error: 'CIRLremote' does not name a type

CIRLremote<IRL_DEBOUCE, IR_NEC, IR_PANASONIC, IR_SONY12> IRLremote;

^

C:\Users\josep\Documents\Arduino\libraries\IRLremote\examples\Transceive\Transceive.ino: In function 'void setup()':

Transceive:48:8: error: 'IRLremote' was not declared in this scope

if (!IRLremote.begin(pinIR))

    ^

C:\Users\josep\Documents\Arduino\libraries\IRLremote\examples\Transceive\Transceive.ino: In function 'void loop()':

Transceive:53:7: error: 'IRLremote' was not declared in this scope

if (IRLremote.available()) {

   ^

Transceive:58:5: error: 'IR_data_t' was not declared in this scope

 IR_data_t data = IRLremote.read();

 ^

Transceive:63:18: error: 'data' was not declared in this scope

 Serial.print(data.protocol);

              ^

Transceive:67:12: error: 'IR_NEC' was not declared in this scope

   case IR_NEC:

        ^

Transceive:70:12: error: 'IR_PANASONIC' was not declared in this scope

   case IR_PANASONIC:

        ^

Transceive:73:12: error: 'IR_SONY12' was not declared in this scope

   case IR_SONY12:

        ^

Transceive:89:26: error: 'IR_PANASONIC' was not declared in this scope

 if (data.protocol == IR_PANASONIC && data.address == 0x2002 && data.command == 0x813D1CA0) {

                      ^

Transceive:96:7: error: 'IRLwrite' was not declared in this scope

   IRLwrite<IR_NEC>(pinSendIR, address, command);

   ^

Transceive:96:16: error: 'IR_NEC' was not declared in this scope

   IRLwrite<IR_NEC>(pinSendIR, address, command);

            ^

exit status 1
'CIRLremote' does not name a type

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=
Arduino: 1.8.9 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Users\josep\Documents\Arduino\libraries\IRLremote\examples\Send_Serial\Send_Serial.ino: In function 'void loop()':

Send_Serial:35:5: error: 'IRLwrite' was not declared in this scope

 IRLwrite<IR_NEC>(pinSendIR, address, command);

 ^

Send_Serial:35:14: error: 'IR_NEC' was not declared in this scope

 IRLwrite<IR_NEC>(pinSendIR, address, command);

          ^

exit status 1
'IRLwrite' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

@zaneclaes
Copy link

Looks like this project was abandoned. A shame, because it was much better looking.

@ArminJo
Copy link

ArminJo commented Jun 26, 2020

Look at https://github.com/ukw100/IRMP, it is up to date and actively maintained.

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

3 participants