Some of the order of precedences can be a little grey
I disagree. The precedence rules are quite well defined.
And can you remember the order of precedence of ALL the operators off the top of your head?
THIS is the real problem. I can't. I can remember that the order is left to right for operators of the same precedence, that multiplication and division are higher than addition and subtraction, that multiplication and division have the same precedence, and that addition and subtraction have the same precedence.
Where ==, >=, >, <=, <, comma, dot, ->, the various shift operators, and the other bit operators fit I have no clue, without looking them up.
But, I do know that parentheses let ME control the order the way I want. So, I use them.
I think OPs use of parentheses around the comparison (as in (digitalRead(n) == HIGH)) are a good idea. It clearly indicates, to me, that it is the result of that comparison that is being assigned to the variable.