Closed drogge closed 6 years ago
The parentheses in the two lines that do brightness calculation in FeatureDemo.ino are in the wrong place:
const int defaultBrightness = 100(255/100); // full brightness //const int defaultBrightness = 15(255/100); // dim: 15% brightness
should be:
const int defaultBrightness = (100255)/10); // full brightness //const int defaultBrightness = (15255)/100; // dim: 15% brightness
Or you can just leave out the parentheses.
thanks!
The parentheses in the two lines that do brightness calculation in FeatureDemo.ino are in the wrong place:
const int defaultBrightness = 100(255/100); // full brightness //const int defaultBrightness = 15(255/100); // dim: 15% brightness
should be:
const int defaultBrightness = (100255)/10); // full brightness //const int defaultBrightness = (15255)/100; // dim: 15% brightness
Or you can just leave out the parentheses.