Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Scarlet 0.5.0

Compare
Choose a tag to compare
@CaiB CaiB released this 26 Jun 21:35
· 101 commits to master since this release

NuGet

This is the first smaller release as part of our plan to reduce the time between versions. As such, there aren't as many changes as some of the previous releases, but it's still a useful upgrade. Here's a list of changes:

Features:

  • Implemented Trace Logging! 🎉
  • Implemented BME280 atmospheric sensor.
  • Implemented MQ135 air pollution sensor (without temp/humidity calibration).
  • Implemented TLV2544 ADC.
  • Implemented SetDelay(float ClockDelay) to all IPWMOutput implementations, and made it an interface requirement. Since not all hardware supports this, some platforms may ignore this setting.
  • PCA9685 now tries to turn off PWM outputs when the objects gets GC'ed (falls out of scope or program exits). Don't rely on it though!
  • Added RGBLED.RedGreenGradient(...) to easily display values within a range as a colour in a red-green gradient.

Bugfixes:

  • PCA9685 now actually applies the Polarity setting to the output.
  • RPi I2C and SPI buses should now be thread-safe.
  • Minor scaling issue in RGBLED output fixed.
  • DataLog Flush() behaviour fixed.

Other:

  • Removed Kalman filter, as it was untested, complex, and not used by anyone. We'll re-implement it later on.
  • We're starting to include XML documentation comments with this release, so that they show up in IntelliSense for DLL users as well.