We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi
I am using 89V51RD2 developed by Philips. I use Keil C51 to program it and Flash magic to burn the program.
Everything works fine but when I use Port 2, it is not giving output as expected.
Only for
P2=0xff
or
P2=0x88
the port 2 is activated and for all other inputs such as
P2=0x01
etc. no pin is pulled up. What could be wrong? Is my program wrong?