What hardware are you using to dim the light? The arduino itself cannot do it directly. SO the way it has to be programmed will depend heavily on the interface tot he hardware that will actually be doing the dimming.
What hardware are you using to dim the light? The arduino itself cannot do it directly. SO the way it has to be programmed will depend heavily on the interface tot he hardware that will actually be doing the dimming.