while loop return x; // Or ‘return;’ for voids.
They are functions not voids.
A void is a return type or a completely empty space.
50 days overflow
of millis(). True but almost 100 percent irrelevant, if you do the maths correctly. Just sayin'.
unsigned char (0 to 255) use byte
Nooo! Old school, sorry. My favorite data type. Known everywhere by everyone, I can actually type unsigned char faster than I can type byte and be sure I remember what it means...
volatile - use RAM (nice for ISR)
most variable variables use RAM, volatile has special use for ISR and, for all I know a few other niche areas. Just say for safe sharing ISR variables or something like tht.
* value pointed to
Maybe a cogent fleshier example, I'll ask the crew.
//Write High to inputs to use pull-up res
Lose that... true but obsolete by INPUT_PUKLUP. Comes in with direct port manipulation, which I think I see you get to…
except you leave off the DDRX register, which is the third leg along with PORTX and PINX.
But a heroic effort draft document, it is amazing how compact C is and how much of what many ppl ever do with an Arduino can fit like this on a reference card. Not cheating, no.
I am reminded of those laminated 8 x 11.5 cards covering, for example, organic chemistry. LOL, worthless.
Here, much more claim to usefulness.
Looking forward to being picky about the next version.
Oh, can you work
( ) parenthesis, parentheses
[ ] brackets
{ } braces
on in there somewhere?
Hot dogs are up. Just in time, CU.
a7