IRLremote icon indicating copy to clipboard operation
IRLremote copied to clipboard

'IRLinterrupt' was not declared in this scope

Open dunk8888 opened this issue 5 years ago • 1 comments

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 avatar Feb 17 '20 13:02 dunk8888

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

dunk8888 avatar Feb 17 '20 14:02 dunk8888