i have this project.. we're to create a circuit and interface it to a PC (we use db25) a light (bulb) must be on during the day and off during the night. night and day are determined by darkness/brightness so i'll be using ldr for this. problem is, we have to dim the lights at midnight. i don't know how to dim the light bulb-don't know what components to use, what circuit... my program (in NASM) will check the time to see if it is midnight already, but how do i dim the lights? help PLEASE!