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

'IRLinterrupt' was not declared in this scope #30

Open
dunk8888 opened this issue Feb 17, 2020 · 1 comment
Open

'IRLinterrupt' was not declared in this scope #30

dunk8888 opened this issue Feb 17, 2020 · 1 comment

Comments

@dunk8888
Copy link

seirlight:359:69: error: expected primary-expression before ',' token

attachInterrupt(digitalPinToInterrupt(pinIR), IRLinterrupt<IR_NEC>, CHANGE); // IR definition

Any ideas about this error? Ive installed the library and if i comment out attachInterrupt(digitalPinToInterrupt(pinIR), IRLinterrupt<IR_NEC>, CHANGE); It will compile.

@dunk8888
Copy link
Author

In file included from C:\Users\DUNK\AppData\Local\Temp\arduino_modified_sketch_780485\seirlight.ino:324:0:

sketch\circnoise_pal_1.h: In function 'void circnoise_pal_1()':

sketch\circnoise_pal_1.h:14:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]

uint8_t scale = 1000; // the "zoom factor" for the noise

               ^~~~

In file included from C:\Users\DUNK\AppData\Local\Temp\arduino_modified_sketch_780485\seirlight.ino:325:0:

sketch\circnoise_pal_2.h: In function 'void circnoise_pal_2()':

sketch\circnoise_pal_2.h:14:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]

uint8_t scale = 1000; // the "zoom factor" for the noise

               ^~~~

In file included from C:\Users\DUNK\AppData\Local\Temp\arduino_modified_sketch_780485\seirlight.ino:326:0:

sketch\circnoise_pal_3.h: In function 'void circnoise_pal_3()':

sketch\circnoise_pal_3.h:14:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]

uint8_t scale = 1000; // the "zoom factor" for the noise

               ^~~~

In file included from C:\Users\DUNK\AppData\Local\Temp\arduino_modified_sketch_780485\seirlight.ino:327:0:

sketch\circnoise_pal_4.h: In function 'void circnoise_pal_4()':

sketch\circnoise_pal_4.h:14:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]

uint8_t scale = 1000; // the "zoom factor" for the noise

               ^~~~

C:\Users\DUNK\AppData\Local\Temp\arduino_modified_sketch_780485\seirlight.ino: In function 'void setup()':

seirlight:359:49: error: 'IRLinterrupt' was not declared in this scope

attachInterrupt(digitalPinToInterrupt(pinIR), IRLinterrupt<IR_NEC>, CHANGE); // IR definition

                                             ^~~~~~~~~~~~

C:\Users\DUNK\AppData\Local\Temp\arduino_modified_sketch_780485\seirlight.ino:359:49: note: suggested alternative: 'interrupts'

attachInterrupt(digitalPinToInterrupt(pinIR), IRLinterrupt<IR_NEC>, CHANGE); // IR definition

                                             ^~~~~~~~~~~~

                                             interrupts

seirlight:359:62: error: 'IR_NEC' was not declared in this scope

attachInterrupt(digitalPinToInterrupt(pinIR), IRLinterrupt<IR_NEC>, CHANGE); // IR definition

                                                          ^~~~~~

seirlight:359:69: error: expected primary-expression before ',' token

attachInterrupt(digitalPinToInterrupt(pinIR), IRLinterrupt<IR_NEC>, CHANGE); // IR definition

                                                                 ^

Multiple libraries were found for "FastLED.h"
Used: C:\Users\DUNK\Documents\Arduino\libraries\FastLED
Not used: C:\Users\DUNK\Documents\Arduino\libraries\arduino_342835
Multiple libraries were found for "IRLremote.h"
Used: C:\Users\DUNK\Documents\Arduino\libraries\IRLremote
Multiple libraries were found for "EEPROM.h"
Used: C:\Program
Not used: C:\Users\DUNK\Documents\Arduino\libraries\Arduino_EEPROM
exit status 1
'IRLinterrupt' was not declared in this scope

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