Today is the first day I learn Cayenne and I add Luminosity project for instructions. I add a slider range of changes from 0 to 1023 as in the example.
However, when I begin to move the slider, the led immediately lights up to maximum brightness. Slider stands in the meaning of 8 (of 1023) and the output is already 4.7 V
A few minutes later I realized that the minimum value of brightness slider in 1023!
Write about it in the manual.
need a change this line in the scetch
analogWrite(LED_DIGITAL_PIN, 255 - currentValue / 4); // must be from 0 to 255