Jump to content

Recommended Posts

Posted

ello, everyone,

i try to control the internal lighting with a potentiometer via dcs-bios.

This is basically very simple and works so far.

My problem is that the rotary switch in the cockpit does not go to the maximum position when turning the potentiometer.

I can see this in the DCS-BIOS control reference.

Code is:

DcsBios::PotentiometerEWMA<5, 128, 5> consolesDimmer("CONSOLES_DIMMER", A5);

The values 5 / 128 / 5 have no influence on the Range. I have already tested this.

Does anyone have an idea?

 

Posted

Sorry, solution already here.

Ardunio was running at 3.3V. With 5V it works of course

Sorry for the useless post

Posted

Not a useless post at all, if someone has the same or a similar issue they can use this for reference or at least troubleshooting.

 

Thanks for feeding back that you found the solution

 

Les

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...