Tuesday, November 16, 2010
Psuedo attempt and sketches for Final
Neons in parallel; the digital output turns on when the photocell reads darkness according on the closeness of the viewer
Motor; the motor turns on and reacts with one of its 3 functions when the photocell reads the light value
the value of the photocell reads and stores the values of light pre-determined through set values from serial print readings for each of the 3 functions of the sunroof and on and off for the neons.
if (the value of the light is slightly dimmer than its brightest value then the first function of the sunroof turns on)
if (the value of the light is slightly dimmer than the above value then the second function of the sunroof begins and the first sunroof function ends)
if (the value of the light is at its dimmest value that has been pre determined than the third function of the sunroof begins and the second sunroof function ends and the neons turn on until light reaches is detected enough to reverse as the viewer walks away)