Fattoresaimon / ArduinoDuPPaLib

Libraries for DuPPa products on the Arduino IDE
GNU General Public License v3.0
42 stars 24 forks source link

Compile errors for teensy_RGB_encoder example #16

Open jrsphoto opened 4 years ago

jrsphoto commented 4 years ago

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?

Fattoresaimon commented 4 years ago

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!

jrsphoto commented 4 years ago

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

Thank you