Skip to content

Commit 5e3135d

Browse files
committed
Example of PotentiometerEWMA added to OneOfEverything
1 parent 9dfdb45 commit 5e3135d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/OneOfEverything/OneOfEverything.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ DcsBios::ToggleButton toggleButtonExample("MSG_0", "ARG_0", "ARG_1", PIN_A);
2323
// A dual mode button with a master switch which toggles the function of a physical pit button between two different DCS functions. Think multi-seat aircraft.
2424
DcsBios::DualModeButton dualModeButtonExample(PIN_A, PIN_B, "MSG_INMODE0", "MSG_INMODE1");
2525

26+
DcsBios::PotentiometerEWMA<5, 128, 5> pltEmergWingSweepltLever("PLT_EMERG_WING_SWEEPLT_LEVER", A0, false, 256, 768);
27+
2628
// Switches
2729
////////////
2830
// A standard two position on/off

0 commit comments

Comments
 (0)