Page 1 of 1

Wink Code Compile Error Solved

Posted: Sat Apr 15, 2017 5:46 pm
by bytezen
I have been getting compilation warnings whilst trying to compile the Wink base sketch. Surprisingly the warnings were preventing the code from uploading successfully. The warning that I received read had a problem with this line:

extern byte irData[]={0x00,0xFF,0x00,0x00};

in WinkHardware.h.

To fix I simply removed the extern and I was able to compile without warnings.

Oddly, when I added extern to recreate the problem for this post the code no longer threw the warnings...Strange, but hopefully this helps anyone with the same problem

Happy Hacking