¿ªÔÆÌåÓý

W8TEE Encoder issues


Jack Purdum
 

All:

I changed the pin numbers associated with the encoder because some Mega 2560 clones don't process INT05 correctly and we were using that interrupt vector on pin 18. I also moved the encoder switch pin at the same time. Look around line 115 in Rel. 1.06 for the new encoder pin symbolic constants:
?
#define ENCODERPINA ? ? ? ? ?19 ? ? ? // Encoder pin A, interrupt 4
#define ENCODERPINB ? ? ? ? ?20 ? ? ? // Encoder pin B, interrupt 3
#define ENCODERSWITCH ? ? ? ?22 ? ? ? // Encoder switch pin
?

If your encoder worked with an earlier release, change the pin numbers you see above back to the pin numbers you were using previously. That should fix the problem.
?
Jack, W8TEE