Request Rotary Encoder code for existing sketch

RE: DIY Sensitive Arduino IB Metal Detector with Discrimination
Does anyone have updated sketch which includes rotary encoder RX sensitivity adjustment using A1 & A2 pins? . Mac
Other Links

Discussion can happen here.

if you want to pay someone to do this, the Jobs and Paid Consultancy forum would be more appropriate

Thanks for your uptake...but I'm not looking for a programmer.

The existing Arduino project hub sketch has variables defining the encoder pins, but they are Not Used later in the rest of the sketch??

// Analog pin definitions
const int encoderAPin = A1;
const int encoderBpin = A2;

Why would they be mentioned, then not used? Maybe the rotary encoder (RX gain adjust) was just a future feature not yet implemented. If it did work, there may be existing code for it. That's what I was looking for. Mac

poor code then....

The project actually started back in 2011 by DC42, I just found that he updated his sketch which does include code for the rotary encoder.
DC42 SKETCH

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.