Jack Purdum
Mike B: I don't understand this quote: No matter how fast I turn the encoder, it will only change the
LSD. 7.258.9 the encoder will only change digit after the 8. Have you tried changing line 61: #define DEFAULTINCREMENT????? 100UL??? // Make it a long since it works with frequency Change that term to 1UL and see what happens. Jack, W8TEE From: Michael Hagen <motdog@...> To: [email protected] Sent: Friday, October 13, 2017 9:18 PM Subject: Re: [BITX20] W8TEE vfo encoder fix I have had problems like that.? My 3D printer
take forever to read the encoder?
The encoder library used to have a spot to
declare that?? You could mess with the steps.
I moved the change code into the interrupt to
read the frequency on one project.? The interrupt sets the
frequency, not a change Flag.
Most just set a Flag and wait for
the Loop Routine to see the Flag and set the Frequency.? May
cause a delay?
Then it reads it as soon as it moves.? Maybe some
de-bounce caps on the encoder.? Make sure pull ups enabled or
use resistors on the encoder.
Mine has them.? I have tried .01 to .1 uF.? I
have 10K pull-ups too.
You might look at that?
A problem I have had too!
Mike, WA6ISP
?On 10/13/2017 5:36 PM, Mike Bryce
wrote:
Well gang, -- Mike Hagen, WA6ISP 10917 Bryant Street Yucaipa, Ca. 92399 (909) 918-0058 PayPal ID "MotDog@..." Mike@... |