@jboecker jboecker released this Apr 27, 2017 · 1 commit to master since this release

Assets 2
  • Added EWMA filter to DcsBios::Potentiometer. This should finally stop potentiometers from spamming the serial port. To tweak the filter parameters, use the DcsBios::PotentiometerEWMA template instead (see Potentiometers.h for its definition).
  • provide sendDcsBiosMessage and DcsBios::sendDcsBiosMessage. Both of these functions will now block again until the message has been transmitted successfully. The non-blocking variant has been renamed to DcsBios::tryToSendDcsBiosMessage.
  • fixed a bunch of compiler warnings (now compiles with -Wall -Werror in the Arduino IDE 1.8.2)
  • tried to improve the order in which inputs get the chance to send a message

@jboecker jboecker released this Jan 22, 2017 · 7 commits to master since this release

Assets 2
  • fixed (const) char* related compiler warnings for ActionButton and Potentiometer

@jboecker jboecker released this Dec 18, 2016 · 8 commits to master since this release

Assets 2
  • add ability to pass a custom map function to the ServoOutput class
  • provide DcsBios::piecewiseMap template function
  • adopt recommended file structure for Arduino libraries and add metadata file

@jboecker jboecker released this Dec 12, 2016 · 11 commits to master since this release

Assets 2
  • fix compiler warning when compiling the RS-485 master sketch

@jboecker jboecker released this Nov 3, 2016 · 12 commits to master since this release

Assets 2
  • make IntegerBuffer::hasUpdatedData() public
  • fix undefined behavior in DCSBIOS_DEFAULT_SERIAL mode
  • add optional argument to select number of steps per detent to DcsBios::RotaryEncoder

@jboecker jboecker released this Aug 4, 2016 · 15 commits to master since this release

Assets 2
  • make SwitchMultiPos default to the last selected position instead of position 0 when none of the pins are pulled to ground. This avoids temporarily switching back to position 0 when you have a break-before-make rotary switch or if some of the positions on your physical rotary switch are unused.

@jboecker jboecker released this Jun 7, 2016 · 17 commits to master since this release

Assets 2
  • fix DcsBios::ActionButton (buttons would get stuck)
  • fix DCSBIOS_RS485_SLAVE on ATMega328 controllers

@jboecker jboecker released this Apr 19, 2016 · 19 commits to master since this release

Assets 2

@jboecker jboecker released this Apr 14, 2016 · 20 commits to master since this release

Assets 2
  • fix a bug with the dirty bit logic in Int16Buffer. If no previous updates had been received (e.g. when the Arduino had just started up), a data update from DCS-BIOS that tried to set the value to zero would not mark the data as dirty, so getUpdatedData() would still return false.