can i manipulate the values at the port pins individually,,
i.e., if i want the 6th pin of port0 to be high, can i assign 1 to that particular pin, without disturbing the other port pin values???? if yes, please tell me how
(i am a beginner)
"but in the example, P0=j was given where j is a hexa no. ..."
There is more than one example. Here's another:
sbit P0_6 = P0^6; void main(void) { P0_6 = k; /* 'k' defined elsewhere */ for (;;); }
sbit P0_6 = P0^6;
would u please explain me the operation of this instruction.i am a beginner and i dont know the commands like P0^6
http://www.keil.com/support/man/docs/c51/c51_le_sbit.htm
thanq very much
... read "the bible"
here are the links to "the bible" Chapter 1 - 80C51 Family Architecture: Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf