Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Re: W8TEE Corrected Code Rel 3
Jack Purdum
I think I mentioned the fix earlier, but the change is in DoMenuSelect(). ?In the switch/case statement block, paste this code:? ?? case ENCODERTUNING: ? ? ? encoderMode = ENCODERTUNING; ? ? ? if (fasttuneStart - fasttuneEnd <= DEFAULTTRIGGER) { ? ?// They're spinning fast... ? ? ? ? currentFrequencyIncrement = FASTINCREMENT; ? ? ? } else { ? ? ? ? currentFrequencyIncrement = DEFAULTINCREMENT; ? ? ? } ? ? ? fasttuneEnd = fasttuneStart; ? ? ? fasttuneStart = 0UL; ?? ? ? ? currentFrequency += (currentFrequencyIncrement * encoderDirection); ? ?// because CCW = -1 and CW = 1 ? ? ? encoderDirection = 0; ? ? ? DoRangeCheck(); ? ? ? sendFrequency(currentFrequency); ? ? ?// Send frequency to chip ? ? ? ShowFrequency(currentFrequency, 0); ? // Update display ? ? ? break; You'll notice I also replaced some SDC (Sorta Dumb Code) that removes a redundant if?statement block. Let me know if this fixes your problem. I'm hoping to get 1.06 out this weekend. Jack, W8TEE From: Art Olson <olson339@...> To: [email protected] Sent: Saturday, August 12, 2017 10:11 AM Subject: Re: [BITX20] W8TEE Corrected Code Rel 3 Jack So my issue is a bit different. I can load and run ver 1.05. The encoder functions as the freq changes on the display. There is a sine wave via my scope from vfo out. However the freq readout on my scope never changes. ?This is the same version I sent you the other day If I reload ver 1.03 everything works correctly. I have looked at the sketch and unable to find a reason for the anomaly.? Art Sent from my iPhone
|
to navigate to use esc to dismiss