Hi simers and pitbuilders,
i try to build only a small part of the KA 50 cockpit (only the targeting mode control panel) to gain experience. The toggle switches work fine, the rotary switch work also fine but the illuminated buttons do not work.
If i push the real life button the button in DCS start to flicker. The real life LED lit all the time, no matter if i push the button or not.
Im not experienced in programming or electronics so i ask for help.
Here is the code i use:
Here is a picture of the circuit: