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

how to manipulate values at the ports

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)

Parents
  • Yes you can. Your processor is a champ at doing single-bit operations.

    Take a look at the sample code that gets installed with the compiler. There is code showing how to flash a LED, but a lot of other useful examples too.

    And the processor manufacturer will also have a number of application examples you should download and take a look at. The examples are specifically intended to get new users up and running quickly.

Reply
  • Yes you can. Your processor is a champ at doing single-bit operations.

    Take a look at the sample code that gets installed with the compiler. There is code showing how to flash a LED, but a lot of other useful examples too.

    And the processor manufacturer will also have a number of application examples you should download and take a look at. The examples are specifically intended to get new users up and running quickly.

Children