0
842views
A 230 V AC bulb is connected through a relay at P2.2. A light sensor is connected at P3.4. A light sensor produces logic high in dark condition,
written 6.0 years ago by | • modified 4.6 years ago |
Write a ‘C’ program to switch ‘ON’ the bulb in ‘DARK’ condition and switch it OFF in ‘LIGHT’ condition.
ADD COMMENT
EDIT
1 Answer