Arduino Leonardo board
2x Rotary encoders Module for HDG/ALT or VS/ALT
1x Slider Potentiometer Module for thruttle
1x toggle switch for landing gear
1x center off 2pole switch for flaps
can’t get third rotary encoder works because of only have 5 interupts input on the leonardo board
Ooooh, I have to read up on the rotary encoders.
So far I have only used potentiometers for throttle, mixture and prop. But I found someone else on the net that had 3D files available, so with an Arduino and a 3D printer, I now have a throttle quadrant:
Rotary encoders are different from potentiometers. you need 2 hardware interrupt inputs for 1 encoder.
as I know arduino uno has 2 interrupt inputs, leonardo has 5 and mega2560 has 6 which means you only allow to run 1 encoder on arduino uno, 2 encoders on leonardo and 3 encoders on mega2560.
I’m doing something similar with the rotary encoders but having a tough time with the code. I’m new to Arduino. Would you mind sharing your arduino code? Thanks!