Luminosity actuator

I’m trying the tutorial in docs under getting started, aduino actuators using luminosity as a sliding dimmer with an LED. Can’t get it to light the LED at all when using a virtual pin assignment, but when I assign a digital PWM pin it lights but doesn’t dim. Do some LED’s dim and others don’t?

All leds are dimmable. The only thing I can think of is that in your virtual pin code you used digitalwrite() instead of analogwrite(). It should also work fine when not using virtual pins.

1 Like

I was using too small of a resistor. Now it works

1 Like

Thanks for letting us know, will help future users too :slight_smile:

-B

can you please share the code for raspberry pi 3 python code.