![]() ![]() I will explain the restrictions in the following steps. ![]() Sadly the Arduino does not have a bank that gives you unrestricted use of eight pins. D1 = digital pin 1, used for serial communication, save it's state.D0 = digital pin 0, used for serial communication, save it's state.C7 = analog pin 7, available only on Arduino mini.C6 = analog pin 6, available only on Arduino mini.B7 is mapped to the crystal, do not use.B6 is mapped to the crystal, do not use.Here is a list of the pins and the corresponding registers: If the DDR register is set to input 1 turns on the internal pull-up resistor.Įach pin is one bit on the controlling registers.If the DDR register is set to output 0 sets the pin low and 1 sets it high.The PIN register is used to read the digital value of the pin. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |