Microcontroller › 8051 › Can we turn LED on and off from serial port to 8051 › you can turnOn led by sending
March 4, 2012 at 10:57 am
#7235
phanindra nath
Participant
you can turnOn led by sending ON LED and turn off the led by sending OFF LED.
But you have to write a program in such a way that, if you get ON LED on from serial port then give led_pin=1; similarly for OFF also.
I didnt clearly understand you but i think this might helpu