cyborg5 / IRLib2

Library for receiving, decoding, and sending infrared signals using Arduino
GNU General Public License v3.0
384 stars 138 forks source link

IRLibSAMD51.h extern Tcc* not being accepted by Arduino compiler #63

Closed doggo4242 closed 4 years ago

doggo4242 commented 5 years ago

I used this library in an Arduino project, but it did not compile, error message: 'Tcc' does not name a type extern Tcc* = IR_TCCx;

If this is a stupid question, I am sorry. I am a total noob, but please tell me how to fix this.

issuewithstuff

cyborg5 commented 5 years ago

I think I know what the problem is and it's my fault. Give me a day or two. My off-line life is kind of complicated right now. For some reason IRLibSAM51.h is getting included even when you're not using a SAMD51 board.

doggo4242 commented 5 years ago

Ok. Thx.

cyborg5 commented 5 years ago

Can you give me some more specifics on this error? What type of board were you using when trying to compile? What versions of the Arduino IDE are you using?

doggo4242 commented 5 years ago

Arduino Mega 2560, ide 1.8.6

doggo4242 commented 5 years ago

code attached Universal_remote.zip

doggo4242 commented 5 years ago

It's been awhile since I started this thread. Has this issue been resolved?

cyborg5 commented 4 years ago

All support for SAMD 51 and M4 boards has been recently updated. Let me know if you have further issues. SAMD51.txt has details. The main documentation will be updated soon.