Dear all, i am using P89V51RD2 (philips) 8051 micro-controller. i am doing some samples with NSK developemnt kit. In this i want to set the Port1 pint 0 to 7 as high/low continiously. I tried this by using the following lines,
P1 = 0x00 ; delay(10000) ; P1 = 0xFF ;
but still i am always getting around 5V on these pins. i searched lot of forums, but in that also they mentioned like this only. Kindly give your suggessions.......
Thanks and Regards Radhakrishnan M
I don't know C51 at all, but I can offer to make sure that: 1. You configured to respective pins as output. 2. That the peripheral is powered (is that applicable to your chip? I don't know). 3. That the sampling rate of your monitoring device is fast enough to catch the change/trigger. 4. ...?
I don't know C51 at all,
That is clear.
Kindly give your suggessions.......
Check the user guide and read up on quasi-directional port pins.