I am trying to build my cockpit, I am using Arduino Mega, Mobiflight and x-plane 11. I have connected 7 segment displays and they work OK, when I adjust in X plane it alters my display. The problem I'm having is the inputs, I can't get the Encoder to work or any switches. I have tried different Arduino's different switches and leads. Can anyone help please.