Hi, I am using 89v51rd2 controller,,i wanted to blink an led on board using tsop sm0038 ir reciever,the code which i used for this is
sbit TSOPSEN= P3^4; //Input from TSOP sensor sbit LED = P0^4; //Output display from TSOP sensor
void main() { while (1) { LED=0; if(TSOPSEN == 1) { LED=1; } } } but wen i dumped the code and pressed the remote,the led is not blinking
Oh dear.
So, what are you going to do about it?