Skip to content

Commit 6503d2b

Browse files
committed
Cleanup for release
1 parent cac301a commit 6503d2b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/OneOfEverything/OneOfEverything.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ DcsBios::Potentiometer potentiometerExample("MSG_0", 1);
4747
// An inverted version of a linear axis control
4848
DcsBios::Potentiometer invertedPotentiometerExample("MSG_0", 1, true);
4949

50-
// Rotary encoder being used to control something that is a N-pos switch in DCS
51-
DcsBios::RotarySwitch rotarySwitchExample("MSG_0", 1, 2, 5);
50+
// Rotary encoder being used to control something that is an N-pos switch in DCS. 3 represents the number of positions of the switch in DCS.
51+
DcsBios::RotarySwitch rotarySwitchExample("MSG_0", 1, 2, 3);
5252

5353
// Outputs
5454
///////////

releasenotes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
- Replaced InvertedPotentiometer class with a reverse bool constructor option for the existing potentiometer.
33
- Added Synchronization example to layout different strategies for physical control <=> DCS synchronization on startup, periodic or on aircraft entry.
44
- Created new synchronization option via ResettableInput/resetThisState()
5+
- Added RotarySwitch for cockpits with a rotary encoder in place of N-Position switches
56

67
## v0.3.5
78
- Switched all examples to DCSBIOS_DEFAULTSERIAL for compatibility.

0 commit comments

Comments
 (0)