Quote Originally Posted by Art View Post
It's not simpler for the Human to read six months later.
Wherever there's not likely to be a performance problem,
and thinking of the possibility of having to adjust those constants later,
I'd avoid the above code like the plague!
but would personally go for the smaller block directly above that.
That's the thing, I can see the need for tight compact code in a commercial arena where costs etc matter, but for home projects I like things more simpler to follow. As mentioned, it might not be the best way, but if it gets the end result I'm after, and there is little impact on speed then I'm happy. If it means I have to throw an overkill PIC at it to maintain the performance, or to have enough memory to hold my bloated code then so be it