Would you guys use an 8u2 or an 16u2 for own PCBs?
That mounting hole on the top left side was already hard to use and this time with the two additional pins it should be impossible to use now.
How can I connect high voltage to an arduino?
Just beginning with direct port manipulation. My current project would benefit from reading all input registers as fast as possible, and then checking for which if any bits have changed.Thinking it might be useful to have some look ups along the lines of the following function prototypes..char mapPinToPort(byte pinNumber);byte mapPinToBit(byte pinNumber);byte mapPinAndPortToPinNumber(char port, byte pinNumber);..hopefully the function names explain their purpose. that is to determine which port & bit a particular numbered pin is on. and also the reverse lookup.wondering if anyone has done this yet? with conditional compilation to cover the variants, and an agreement on "does not have such" values... it should be workable to cover all variants