you should just mimic the (integer) math of the timer and show the calculated values in the UI
you type 247000,
the Arduino does something like:
long d = (8000000/247000) - 1 = 31;
long freq = 8000000/d = 258064;
Display.print(freq);
you should just mimic the (integer) math of the timer and show the calculated values in the UI
you type 247000,
the Arduino does something like:
long d = (8000000/247000) - 1 = 31;
long freq = 8000000/d = 258064;
Display.print(freq);