There certainly are places where I use #define's
I have a different personal threshold for that stuff.
In this case, all those numbers are used only once,
and the code with all those numbers in place reads like a well organized table.
For me, that's seems to be about as good as it's going to get.
Regarding Ron's comment, yes there is other code.
Jerry
toggle quoted message
Show quoted text
On Sun, May 20, 2018 at 08:35 pm, Jack Purdum wrote:
There's all kinds of different ways to code that. I like symbolic constants because they are typeless. Some prefer enums, but those are integers so wouldn't work here. Personally, I think LOW40M is easier to read/understand than 7000UL. Again, a matter of style.
?