¿ªÔÆÌåÓý

Re: Tuning with Si5351 and Rotary encoders


 

Eric,

The code I'm using is a little different, the interrupt calls set frequency

ISR(PCINT2_vect) {

? unsigned char result = r.process();

? if (result == DIR_CW)

? ? set_frequency(-1);

? else if (result == DIR_CCW)

? ? set_frequency(1);

}

Then set_frequency does its thing and sets the change flag and does not call?display_frequency. Then my main loop does not call?set_frequency just display_frequency.

Let me know if you want a copy of it.

73, Pete


On Mon, Apr 3, 2017 at 03:09 pm, Eric Torraca wrote:

set-case

?

Join [email protected] to automatically receive all group messages.