Topic : Regarding accessing bit wsie the AT89s51 uC IC,

Forum : 8051

Original Post
Post Information Post
November 10, 2009 - 11:13am
Guest

Dear all,

In Ride c programming, while i write P2_0 = 0; the compailer gives error like P2_0.

I knew, we need to add some command to get this bitwise facily. but i forgot the command.
Please get me the command to access all the Ports by bitwise.

Thanks in advance,
R. B. raju

Replies
Post Information Post
+1
0
-1
November 12, 2009 - 11:01am
Guest

Hi

You can check if you have included the header file which defines the port.
This should be enough to use bitwise operation.

#include "C:\ride\INC\51\ATMEL\at89c5131.h"

Regards
Matloub