API Diff between 0.15.2 and 0.6.223
77 Additions
41 Removals
Meadow.Foundation.Communications
-
public class SerialTextFile
- public SerialTextFile(string port, int baudRate, ParityType parity, int dataBits, NumberOfStopBits stopBits, string endOfLine)
- public SerialTextFile(IIODevice device, SerialPortName port, int baudRate, Parity parity, int dataBits, StopBits stopBits, string endOfLine)
Meadow.Foundation.Displays
Meadow.Foundation.Generators
Meadow.Foundation.Leds
-
public class Led : ILed
-
public class PwmLed : IPwmLed, ILed
-
public class RgbLed : IRgbLed
- public CommonType Common { get; protected set; }
- public bool IsCommonCathode { get; protected set; }
- public RgbLed(IIODevice device, IPin redPin, IPin greenPin, IPin bluePin, bool isCommonCathode = true)
- public RgbLed(IDigitalOutputPort redPort, IDigitalOutputPort greenPort, IDigitalOutputPort bluePort, bool isCommonCathode = true)
- public RgbLed(IIODevice device, IPin redPin, IPin greenPin, IPin bluePin, CommonType commonType = 0)
- public RgbLed(IDigitalOutputPort redPort, IDigitalOutputPort greenPort, IDigitalOutputPort bluePort, CommonType commonType = 0)
-
public class RgbPwmLed
- protected class RunningColorsConfig
- protected Thread _animationThread
- protected Color _color
- protected bool _isRunning
- protected double _maximumBluePwmDuty
- protected double _maximumGreenPwmDuty
- protected double _maximumRedPwmDuty
- protected RunningColorsConfig _runningColorConfig
- protected double dutyCycleMax
- protected Task _animationTask
- protected CancellationTokenSource cancellationTokenSource
- protected bool isEnabled
- protected double maxBlueDutyCycle
- protected double maxGreenDutyCycle
- protected double maxRedDutyCycle
- public IPwmPort BluePWM { get; protected set; }
- public IPwmPort BluePwm { get; protected set; }
- public CommonType Common { get; protected set; }
- public IPwmPort GreenPWM { get; protected set; }
- public bool IsCommonCathode { get; protected set; }
- public IPwmPort GreenPwm { get; protected set; }
- public bool IsEnabled { get; set; }
- public IPwmPort RedPWM { get; protected set; }
- public RgbPwmLed(IIODevice device, IPin redPwmPin, IPin greenPwmPin, IPin bluePwmPin, float redLedForwardVoltage = 3.3, float greenLedForwardVoltage = 3.3, float blueLedForwardVoltage = 3.3, bool isCommonCathode = true)
- public RgbPwmLed(IPwmPort redPwm, IPwmPort greenPwm, IPwmPort bluePwm, float redLedForwardVoltage = 3.3, float greenLedForwardVoltage = 3.3, float blueLedForwardVoltage = 3.3, bool isCommonCathode = true)
- public void SetColor(Color color, int duration = 0)
- public void StartAlternatingColors(Color colorOne, Color colorTwo, int colorOneDuration, int colorTwoDuration)
- public void StartBlink(Color color, int highDuration = 200, int lowDuration = 200, float highBrightness = 1, float lowBrightness = 0)
- public void StartPulse(Color color, int pulseDuration = 600, float highBrightness = 1, float lowBrightness = 0.15)
- public void StartRunningColors(ArrayList colors, int[] durations, bool loop = true)
- public IPwmPort RedPwm { get; protected set; }
- public RgbPwmLed(IIODevice device, IPin redPwmPin, IPin greenPwmPin, IPin bluePwmPin, float redLedForwardVoltage = 3.3, float greenLedForwardVoltage = 3.3, float blueLedForwardVoltage = 3.3, CommonType commonType = 0)
- public RgbPwmLed(IPwmPort redPwm, IPwmPort greenPwm, IPwmPort bluePwm, float redLedForwardVoltage = 3.3, float greenLedForwardVoltage = 3.3, float blueLedForwardVoltage = 3.3, CommonType commonType = 0)
- protected void ResetPwms()
- public void SetColor(Color color, float brightness = 1)
- public void StartBlink(Color color, uint onDuration = 200, uint offDuration = 200, float highBrightness = 1, float lowBrightness = 0)
- protected Task StartBlinkAsync(Color color, uint onDuration, uint offDuration, float highBrightness, float lowBrightness, CancellationToken cancellationToken)
- public void StartPulse(Color color, uint pulseDuration = 600, float highBrightness = 1, float lowBrightness = 0.15)
- protected Task StartPulseAsync(Color color, uint pulseDuration, float highBrightness, float lowBrightness, CancellationToken cancellationToken)
- public void TurnOff()
- public void TurnOn()
Meadow.Foundation.Motors
Meadow.Foundation.Sensors
Meadow.Foundation.Sensors.Buttons
Meadow.Foundation.Sensors.HallEffect
Meadow.Foundation.Sensors.Hid
Meadow.Foundation.Sensors.Rotary
Meadow.Foundation.Sensors.Spatial
Meadow.Foundation.Sensors.Temperature
-
public class AnalogTemperature : FilterableObservableBase<AtmosphericConditionChangeResult, AtmosphericConditions>, ITemperatureSensor, ISensor, IObservable<AtmosphericConditionChangeResult>
- public const ushort MinimumPollingPeriod = 100
- public IAnalogInputPort AnalogInputPort { get; protected set; }
- public float TemperatureChangeNotificationThreshold { get; set; }
- public event SensorFloatEventHandler TemperatureChanged
- public AnalogTemperature(IIODevice device, IPin analogPin, KnownSensorType sensorType, Calibration calibration = null, ushort updateInterval = 100, float temperatureChangeNotificationThreshold = 0.001)
- public void Update()
- public event EventHandler<AtmosphericConditionChangeResult> Updated
- public AnalogTemperature(IIODevice device, IPin analogPin, KnownSensorType sensorType, Calibration calibration = null)
- public AnalogTemperature(IAnalogInputPort analogInputPort, KnownSensorType sensorType, Calibration calibration = null)
- protected void RaiseEventsAndNotify(AtmosphericConditionChangeResult changeResult)
- public Task<AtmosphericConditions> Read(int sampleCount = 10, int sampleIntervalDuration = 40)
- public void StartUpdating(int sampleCount = 10, int sampleIntervalDuration = 40, int standbyDuration = 100)
- public void StopUpdating()
- protected float VoltageToTemperature(float voltage)