>I was thinking about a photocell to determine night time >and daytime operation and set he current accordingly. Why not just determine if the headlights have been switched on? Then run the brightness accordingly. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist