![]() |
| Rather a quintopus of a circuit |
So now, when you press the button, it turns on or off. When you hold the button while turning it on, the brightness changes. This is done by checking to see whether the button has been held for longer than 500ms and whether the light is currently on.
Next time, we control the LED based on some more continuous analog input: a light-dependent resistor.
And after that, we connect a few LEDs to the internet and alter them based on RSS info... and then on to the meat -- the Vitamaster itself.
Next time, we control the LED based on some more continuous analog input: a light-dependent resistor.
And after that, we connect a few LEDs to the internet and alter them based on RSS info... and then on to the meat -- the Vitamaster itself.

Isn't it PWM on a digital pin that is making the LED glow a specific intensity? I like the blog. It's good to see you are working towards your goal.
ReplyDeleteWhoops, you're right. I'll have to fix that.
ReplyDelete