ArduinoDuPPaLib icon indicating copy to clipboard operation
ArduinoDuPPaLib copied to clipboard

Compile errors for teensy_RGB_encoder example

Open jrsphoto opened this issue 4 years ago • 2 comments

Trying to test some v2.0 encoder boards I have but I'm getting the following compile error: `C:\Users\jrsph\Documents\Arduino\libraries\ArduinoDuPPaLib-master\src\LEDRing.cpp: In member function 'void LEDRing::LEDRing_ClearAll()':

C:\Users\jrsph\Documents\Arduino\libraries\ArduinoDuPPaLib-master\src\LEDRing.cpp:96:12: error: 'PWM_MODE' was not declared in this scope

PWM_MODE();

        ^

Error compiling for board Teensy 3.2 / 3.1.`

What am I missing?

jrsphoto avatar Nov 29 '20 05:11 jrsphoto

Hello,

I have tried but my compiled without problem. Looks like the problem is in the library of the RGB LED Ring, that i have recently updated. Please update the library.

Thank you!

Fattoresaimon avatar Nov 29 '20 20:11 Fattoresaimon

Yep, I was using an older version. Updated and that fixed the problem.

Thank you

jrsphoto avatar Dec 01 '20 01:12 jrsphoto