¿ªÔÆÌåÓý

Re: raduino v1.27 released (improved suppression of spurious burst)


 

Allard :?

The only way I could see that you could cram in support for an encoder for tuning would be via conditional compilation.?
i.e. something like :?

#if defined (ENCODER_TUNING)
? ?// code for encoder ?
#else
? // code for tuning pot?

Since you either use the pot or an encoder for tuning, not both, ?this would potentially work ?but it has the disadvantage of cluttering the code up
and making it a bit more convoluted.?

The default could remain as tuning pot to maintain compatibility. Anyone wanting to use an encoder would need to?
uncomment a define for ENCODER_TUNING (or whatever you would call it) so that code is compiled and used instead.?

Cheers

Michael VE3WMB?

P.S. My idea doesn't consider the necessary pin assignments needed for the encoder and the encoder switch, which might conflict with?
existing PIN usage on the Nano. Since this might involve PIN reassignments, my suggestion would be to defer any?consideration for this
until Raduino V2.?

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