In the article Definition and management of PORT connections The words defPIN: high low output input and are described To do this, we will create the word defPIN: like this: We will use this value as mask to set the PINs. The bits 1 correspond to the position of the pin in Let's take a close look at the injected binary values to activate Let's see this in a little binary juggling. Pin 26 without turning off pin 11 if it is already active? So we have to find a way to selectively turn on or off pines withoutĪlter the state of those who are active or not active. Who can also write: 128 PORTB c! \ met 128 dans registre PORT B, 10000000 en binaireĪh damn! We turned off the pine 26 and only lit the pine 24. Diagram: pin 26 set on (terminal 13)Ĭode correspondant: 128 37 c! \ met 128 dans registre PORT B, 10000000 en binaire To do this, you must inject the binary value 10000000
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |