Microcontroller › 8051 › Interfacing AT89S51 with ultrasonic sensor and LCD › nidhin.k thanx for the code
January 21, 2013 at 7:01 pm
#9023
zulnorain
Participant
nidhin.k thanx for the code buddy its working fine….now if i want to introduce leds and buzzer in it how will that be done?
for example 4 red leds (P0^0 to P0^3) glow when distance is <= 20 inches and buzzer (P1.3) is sound…if distance > 20
4 green leds glow(p0.4 to p0.7)
please help…