This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sending a bit of a char ro any port pin

Dear friends

i would like to know how to send any bit of a char
to any port pin
ie. unsigned char a = 0xAA; now at memory location for a will contains 10101010b can i send the bit 0 of "a" to P1_0? i don't want to send the entire a to P1

thanking you

sunish

Parents
  • This is a funny thread. The answer to the OPs question is available in the fifth post. After that follows incomplete code that tries to answer a question I haven't seen.

    What this thread needs, is for the OP to read post #2 and come back with more info, i.e. may the original question be the result of a misunderstanding.

Reply
  • This is a funny thread. The answer to the OPs question is available in the fifth post. After that follows incomplete code that tries to answer a question I haven't seen.

    What this thread needs, is for the OP to read post #2 and come back with more info, i.e. may the original question be the result of a misunderstanding.

Children
No data