Why ever promote to variable, when you can just use the pin output?

++1 to this.

There is always point in project when you just do not remember what this code does, and where it was used. Worse is when you made function, tested it, decided it is good, but then moved to another piece of code. And forgot to implement/use that function. Then you remember it took you 2 days to make it neat with correct results, but you do not remember why and how to use it. :smiley:

That is reason i always maake stupidly big comments explaining whole things, all together with any stupid or silly MNEMONIC i think of. Sometimes remembering that you nicknamed piece of code “A bloated belly” does that zap to your memory. So i write “this is a bloated belly of code”

2 Likes