Skip to content

Releases: jbliesener/FlightSimSwitches

Permit function to customize determination of current switch position for multi position switches

06 Jan 08:26
Compare
Choose a tag to compare

Before this release, each pin of a MultiPositionSwitch corresponded to exactly one switch position. However, there are switches that transmit their position in an already coded form. For these switches, the new function setFindSwitchPosition function now allows to specify a function that reads the switch inputs and, in a customised way, returns the current switch position.

The specified function can use the following methods:

  • bool isPinOn(pinIndex): read the nth input pin. Considers activeHigh and activeLow and directly returns if the pin is in an "on" state
  • uint8_t getNumberOfPositions(): returns the number of defined input pins

Clear columnPinsAreDynamic if column pins are set with SetInputPins

29 Jun 19:54
Compare
Choose a tag to compare
1.1.14

Clear columnsPinsAreDynamic if column pins are set

More fixes for Teensy 2.0

01 Jul 02:18
Compare
Choose a tag to compare

This version adds more support for Teensy 2.0:

  • Previous versions did not support more than 16 input lines
  • Dataref and command names weren't printed on the serial console
  • Fixed strings moved into flash memory

Fixes for compatibility with Teensy 2.0

19 May 18:00
Compare
Choose a tag to compare

Teensy 2.0 uses a different symbol for flight sim controls and doesn't implement INPUT_PULLDOWN. This patch provides compatibility with Teensy 2.0

Fixed CRITICAL bug in setRowNumber

30 Mar 21:39
Compare
Choose a tag to compare

This is a critical bugfix

In previous versions of the library, the FlightSimSwitches.loop() would cause a short pulse on a random pin number in regular intervals. This erroneous behaviour can have a lot of side effects and it is URGENTLY recommended to update to the new version of the library.

Added FLIGHTSIM_STARTUP macro

30 Mar 17:43
Compare
Choose a tag to compare

This adds a new macro called FLIGHTSIM_STARTUP that you can use as the first line in the setup() function of your sketch. It'll init the Serial output port and print a startup message with the file name and compilation date

Fixed scanrate & activeLow parameters

29 Mar 21:03
Compare
Choose a tag to compare
1.1.9

Fixed scan rate & activeLow on initializing FlightSimSwitches

Lots of demos...

13 Jan 22:22
Compare
Choose a tag to compare

This release adds a number of examples as cited in the documentation. Furthermore, the FlightSimPushbutton object now provides correct debug output.

Remove debug code in startup

08 Nov 03:04
Compare
Choose a tag to compare
1.1.7

Remove debug message in startup

Simplified pin number constructors

08 Nov 02:15
Compare
Choose a tag to compare
1.1.6

Version 1.1.6: Added simple initializers