API Diff between 0.15.2 and 1.10.2
393 Additions
213 Removals
Meadow.Foundation
-
public abstract class ByteCommsSensorBase<UNIT> : PollingSensorBase<UNIT>, IDisposable where UNIT : struct
-
public struct Color
- public static readonly Color AliceBlue
- public static readonly Color AntiqueWhite
- public static readonly Color Aqua
- public static readonly Color Aquamarine
- public static readonly Color Azure
- public static readonly Color Beige
- public static readonly Color Bisque
- public static readonly Color Black
- public static readonly Color BlanchedAlmond
- public static readonly Color Blue
- public static readonly Color BlueViolet
- public static readonly Color Brown
- public static readonly Color BurlyWood
- public static readonly Color CadetBlue
- public static readonly Color Chartreuse
- public static readonly Color Chocolate
- public static readonly Color Coral
- public static readonly Color CornflowerBlue
- public static readonly Color Cornsilk
- public static readonly Color Crimson
- public static readonly Color Cyan
- public static readonly Color DarkBlue
- public static readonly Color DarkCyan
- public static readonly Color DarkGoldenrod
- public static readonly Color DarkGray
- public static readonly Color DarkGreen
- public static readonly Color DarkKhaki
- public static readonly Color DarkMagenta
- public static readonly Color DarkOliveGreen
- public static readonly Color DarkOrange
- public static readonly Color DarkOrchid
- public static readonly Color DarkRed
- public static readonly Color DarkSalmon
- public static readonly Color DarkSeaGreen
- public static readonly Color DarkSlateBlue
- public static readonly Color DarkSlateGray
- public static readonly Color DarkTurquoise
- public static readonly Color DarkViolet
- public static readonly Color DeepPink
- public static readonly Color DeepSkyBlue
- public static readonly Color DimGray
- public static readonly Color DodgerBlue
- public static readonly Color Firebrick
- public static readonly Color FloralWhite
- public static readonly Color ForestGreen
- public static readonly Color Fuchsia
- public static readonly Color Gainsboro
- public static readonly Color GhostWhite
- public static readonly Color Gold
- public static readonly Color Goldenrod
- public static readonly Color Gray
- public static readonly Color Green
- public static readonly Color GreenYellow
- public static readonly Color Honeydew
- public static readonly Color HotPink
- public static readonly Color IndianRed
- public static readonly Color Indigo
- public static readonly Color Ivory
- public static readonly Color Khaki
- public static readonly Color Lavender
- public static readonly Color LavenderBlush
- public static readonly Color LawnGreen
- public static readonly Color LemonChiffon
- public static readonly Color LightBlue
- public static readonly Color LightCoral
- public static readonly Color LightCyan
- public static readonly Color LightGoldenrodYellow
- public static readonly Color LightGray
- public static readonly Color LightGreen
- public static readonly Color LightPink
- public static readonly Color LightSalmon
- public static readonly Color LightSeaGreen
- public static readonly Color LightSkyBlue
- public static readonly Color LightSlateGray
- public static readonly Color LightSteelBlue
- public static readonly Color LightYellow
- public static readonly Color Lime
- public static readonly Color LimeGreen
- public static readonly Color Linen
- public static readonly Color Magenta
- public static readonly Color Maroon
- public static readonly Color MediumAquamarine
- public static readonly Color MediumBlue
- public static readonly Color MediumOrchid
- public static readonly Color MediumPurple
- public static readonly Color MediumSeaGreen
- public static readonly Color MediumSlateBlue
- public static readonly Color MediumSpringGreen
- public static readonly Color MediumTurquoise
- public static readonly Color MediumVioletRed
- public static readonly Color MidnightBlue
- public static readonly Color MintCream
- public static readonly Color MistyRose
- public static readonly Color Moccasin
- public static readonly Color NavajoWhite
- public static readonly Color Navy
- public static readonly Color OldLace
- public static readonly Color Olive
- public static readonly Color OliveDrab
- public static readonly Color Orange
- public static readonly Color OrangeRed
- public static readonly Color Orchid
- public static readonly Color PaleGoldenrod
- public static readonly Color PaleGreen
- public static readonly Color PaleTurquoise
- public static readonly Color PaleVioletRed
- public static readonly Color PapayaWhip
- public static readonly Color PeachPuff
- public static readonly Color Peru
- public static readonly Color Pink
- public static readonly Color Plum
- public static readonly Color PowderBlue
- public static readonly Color Purple
- public static readonly Color Red
- public static readonly Color RosyBrown
- public static readonly Color RoyalBlue
- public static readonly Color SaddleBrown
- public static readonly Color Salmon
- public static readonly Color SandyBrown
- public static readonly Color SeaGreen
- public static readonly Color SeaShell
- public static readonly Color Sienna
- public static readonly Color Silver
- public static readonly Color SkyBlue
- public static readonly Color SlateBlue
- public static readonly Color SlateGray
- public static readonly Color Snow
- public static readonly Color SpringGreen
- public static readonly Color SteelBlue
- public static readonly Color Tan
- public static readonly Color Teal
- public static readonly Color Thistle
- public static readonly Color Tomato
- public static readonly Color Transparent
- public static readonly Color Turquoise
- public static readonly Color Violet
- public static readonly Color Wheat
- public static readonly Color White
- public static readonly Color WhiteSmoke
- public static readonly Color Yellow
- public static readonly Color YellowGreen
- public static Color Default { get; }
- public double A { get; }
- public double B { get; }
- public double Brightness { get; }
- public double G { get; }
- public double Hue { get; }
- public bool IsDefault { get; }
- public double R { get; }
- public double Saturation { get; }
- public Color(double r, double g, double b, double a)
- public Color(double r, double g, double b)
- public Color(double value)
- public static Color FromHex(string hex)
- public static Color FromHsba(double h, double s, double b, double a = 1)
- public static Color FromRgb(int r, int g, int b)
- public static Color FromRgb(double r, double g, double b)
- public static Color FromRgba(int r, int g, int b, int a)
- public static Color FromRgba(double r, double g, double b, double a)
- public static Color FromUint(uint argb)
- public static bool op_Equality(Color color1, Color color2)
- public static bool op_Inequality(Color color1, Color color2)
- public Color AddBrightness(double delta)
- public Color MultiplyAlpha(double alpha)
- public Color WithBrightness(double brightness)
- public Color WithHue(double hue)
- public Color WithSaturation(double saturation)
-
public static class ColorExtensions
- public static Color FromAhsv(this Color color, double alpha, double hue, double saturation, double value)
-
public class Converters
- public static double Double(string value, double defaultValue = 0)
- public static void HsvToRgb(double hue, double saturation, double brightValue, out double r, out double g, out double b)
- public static int Integer(string value, int defaultValue = 0)
-
public class DeviceConfigurationException : Exception
-
public class I2cCommunications : II2cCommunications, IByteCommunications
-
public abstract class ObservableBase<UNIT> : IObservable<IChangeResult<UNIT>> where UNIT : struct
-
public abstract class PollingSensorBase<UNIT> : SamplingSensorBase<UNIT> where UNIT : struct
-
public abstract class SamplingSensorBase<UNIT> : ObservableBase<UNIT>, ISamplingSensor<UNIT>, ISensor<UNIT>, ISensor, ISamplingSensor where UNIT : struct
-
public class SpiCommunications : ISpiCommunications, IByteCommunications
-
public static class WildernessLabsColors
Meadow.Foundation.Audio
Meadow.Foundation.Communications
-
public class SerialTextFile
- public SerialTextFile(ISerialController device, SerialPortName port, int baudRate, Parity parity, int dataBits, StopBits stopBits, string endOfLine)
- public SerialTextFile(ISerialPort serialPort, string endOfLine, bool useSerialEvents = true)
- public SerialTextFile(IIODevice device, SerialPortName port, int baudRate, Parity parity, int dataBits, StopBits stopBits, string endOfLine)
Meadow.Foundation.Displays
-
public abstract class DisplayBase : IDisplay
- public enum BitmapMode
- public enum DisplayColorMode
- public abstract DisplayColorMode ColorMode { get; }
- public abstract uint Height { get; }
- public bool IgnoreOutOfBoundsPixels { get; set; }
- public abstract uint Width { get; }
- protected DisplayBase()
- public abstract void Clear(bool updateDisplay = false)
- public abstract void DrawBitmap(int x, int y, int width, int height, byte[] bitmap, BitmapMode bitmapMode)
- public abstract void DrawBitmap(int x, int y, int width, int height, byte[] bitmap, Color color)
- public abstract void DrawPixel(int x, int y, Color color)
- public abstract void DrawPixel(int x, int y, bool colored)
- public abstract void DrawPixel(int x, int y)
- public abstract void SetPenColor(Color pen)
- public abstract void Show()
Meadow.Foundation.Generators
Meadow.Foundation.Helpers
Meadow.Foundation.Leds
-
public static class Helpers
-
public class Led : ILed
-
public class LedBarGraph
-
public class PwmLed : IPwmLed, ILed
- protected Thread _animationThread
- protected bool _inverted
- protected bool _isOn
- protected float _maximumPwmDuty
- protected bool _running
- public Voltage ForwardVoltage { get; protected set; }
- public bool IsDisposed { get; }
- public float ForwardVoltage { get; protected set; }
- public Voltage MAX_FORWARD_VOLTAGE { get; }
- public Voltage MIN_FORWARD_VOLTAGE { get; }
- public PwmLed(IPin pin, Voltage forwardVoltage, CircuitTerminationType terminationType = 0)
- public PwmLed(IPwmPort pwmPort, Voltage forwardVoltage, CircuitTerminationType terminationType = 0)
- public void Dispose()
- protected virtual void Dispose(bool disposing)
- public PwmLed(IIODevice device, IPin pin, float forwardVoltage, CircuitTerminationType terminationType = 0)
- public PwmLed(IPwmPort pwmPort, float forwardVoltage, CircuitTerminationType terminationType = 0)
- public Task StartBlink()
- public Task StartBlink(TimeSpan onDuration, TimeSpan offDuration)
- public Task StartBlink(float highBrightness, float lowBrightness)
- public Task StartBlink(TimeSpan highBrightnessDuration, TimeSpan lowBrightnessDuration, float highBrightness = 1, float lowBrightness = 0)
- public Task StartPulse(float highBrightness = 1, float lowBrightness = 0.15)
- public Task StartPulse(TimeSpan pulseDuration, float highBrightness = 1, float lowBrightness = 0.15)
- public Task StopAnimation()
- protected void ValidateBrightness(float highBrightness, float lowBrightness)
- protected void ValidateForwardVoltages(Voltage forwardVoltage)
- public void StartBlink(uint onDuration = 200, uint offDuration = 200)
- public void StartBlink(uint onDuration, uint offDuration, float highBrightness, float lowBrightness)
- public void StartPulse(int pulseDuration = 600, float highBrightness = 1, float lowBrightness = 0.15)
- public void Stop()
-
public class PwmLedBarGraph
-
public class RgbLed : IRgbLed
- public enum Colors
- protected Task _animationTask
- protected CancellationTokenSource _cancellationTokenSource
- public RgbLedColors Color { get; protected set; }
- public CommonType Common { get; protected set; }
- public Colors Color { get; protected set; }
- public CommonType Common { get; protected set; }
- public bool IsDisposed { get; }
- public bool IsOn { get; set; }
- public RgbLed(IPin redPin, IPin greenPin, IPin bluePin, CommonType commonType = 0)
- public RgbLed(IDigitalOutputPort redPort, IDigitalOutputPort greenPort, IDigitalOutputPort bluePort, CommonType commonType = 0)
- public void Dispose()
- public virtual void Dispose(bool disposing)
- public void SetColor(RgbLedColors color)
- public Task StartBlink()
- public Task StartBlink(RgbLedColors color)
- public Task StartBlink(RgbLedColors color, TimeSpan onDuration, TimeSpan offDuration)
- public Task StartBlink(TimeSpan onDuration, TimeSpan offDuration)
- public Task StopAnimation()
- protected void UpdateLed(bool isOn)
- 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 void SetColor(Colors color)
- public void StartBlink(Colors color, uint onDuration = 200, uint offDuration = 200)
- protected Task StartBlinkAsync(Colors color, uint onDuration, uint offDuration, CancellationToken cancellationToken)
- public void Stop()
- public void TurnOff()
- public void TurnOn()
-
public class RgbPwmLed
- public Voltage BlueForwardVoltage { get; protected set; }
- protected Task _animationTask
- protected CancellationTokenSource cancellationTokenSource
- protected bool isEnabled
- protected double maxBlueDutyCycle
- protected double maxGreenDutyCycle
- protected double maxRedDutyCycle
- public float BlueForwardVoltage { get; protected set; }
- public float Brightness { get; protected set; }
- public Color Color { get; protected set; }
- public CommonType Common { get; protected set; }
- public Voltage GreenForwardVoltage { get; protected set; }
- public Color Color { get; }
- public CommonType Common { get; protected set; }
- public float GreenForwardVoltage { get; protected set; }
- public bool IsDisposed { get; }
- public bool IsOn { get; set; }
- public Voltage MAX_FORWARD_VOLTAGE { get; }
- public Voltage MIN_FORWARD_VOLTAGE { get; }
- public Voltage RedForwardVoltage { get; protected set; }
- public bool IsEnabled { get; set; }
- public float RedForwardVoltage { get; protected set; }
- public RgbPwmLed(IPwmPort redPwmPort, IPwmPort greenPwmPort, IPwmPort bluePwmPort, CommonType commonType = 0)
- public RgbPwmLed(IPin redPwmPin, IPin greenPwmPin, IPin bluePwmPin, CommonType commonType = 0)
- public RgbPwmLed(IPwmPort redPwmPort, IPwmPort greenPwmPort, IPwmPort bluePwmPort, Voltage redLedForwardVoltage, Voltage greenLedForwardVoltage, Voltage blueLedForwardVoltage, CommonType commonType = 0)
- public RgbPwmLed(IPin redPwmPin, IPin greenPwmPin, IPin bluePwmPin, Voltage redLedForwardVoltage, Voltage greenLedForwardVoltage, Voltage blueLedForwardVoltage, CommonType commonType = 0)
- public void Dispose()
- public virtual void Dispose(bool disposing)
- protected void ResetPwmPorts()
- public void SetBrightness(float brightness)
- public void SetColor(Color color, float brightness = 1)
- public void SetColor(RgbLedColors color)
- public Task StartBlink()
- public Task StartBlink(RgbLedColors color)
- public Task StartBlink(TimeSpan onDuration, TimeSpan offDuration)
- public Task StartBlink(RgbLedColors color, TimeSpan onDuration, TimeSpan offDuration)
- public Task StartBlink(float highBrightness = 1, float lowBrightness = 0)
- public Task StartBlink(Color color, float highBrightness = 1, float lowBrightness = 0)
- public Task StartBlink(TimeSpan onDuration, TimeSpan offDuration, float highBrightness = 1, float lowBrightness = 0)
- public Task StartBlink(Color color, TimeSpan onDuration, TimeSpan offDuration, float highBrightness = 1, float lowBrightness = 0)
- public Task StartPulse(float highBrightness = 1, float lowBrightness = 0.15)
- public Task StartPulse(Color color, float highBrightness = 1, float lowBrightness = 0.15)
- public Task StartPulse(Color color, TimeSpan pulseDuration, float highBrightness = 1, float lowBrightness = 0.15)
- public Task StartPulse(TimeSpan pulseDuration, float highBrightness = 1, float lowBrightness = 0.15)
- public Task StopAnimation()
- protected void ValidateBrightness(float highBrightness, float lowBrightness)
- protected void ValidateForwardVoltages(Voltage redLedForwardVoltage, Voltage greenLedForwardVoltage, Voltage blueLedForwardVoltage)
- 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 Stop()
-
public static class TypicalForwardVoltage
Meadow.Foundation.Motors
-
public class BidirectionalDcMotor
-
public class HBridgeMotor : IDCMotor
- protected IDigitalOutputPort enablePort
- protected IPwmPort motorLeftPwm
- protected IPwmPort motorRighPwm
- protected IDigitalOutputPort _enablePort
- protected bool _isNeutral
- protected IPwmPort _motorLeftPwm
- protected IPwmPort _motorRighPwm
- protected readonly float _pwmFrequency
- protected float _speed
- public float Power { get; set; }
- public Frequency PwmFrequency { get; }
- public HBridgeMotor(IPin a1Pin, IPin a2Pin, IPin enablePin)
- public HBridgeMotor(IPin a1Pin, IPin a2Pin, IPin enablePin, Frequency pwmFrequency)
- public HBridgeMotor(IPwmPort a1Port, IPwmPort a2Port, IDigitalOutputPort enablePort)
- public HBridgeMotor(IPwmPort a1Port, IPwmPort a2Port, IDigitalOutputPort enablePort, Frequency pwmFrequency)
- public float PwmFrequency { get; }
- public float Speed { get; set; }
- public HBridgeMotor(IIODevice device, IPin a1Pin, IPin a2Pin, IDigitalOutputPort enablePin, float pwmFrequency = 1600)
- public HBridgeMotor(IPwmPort a1Pin, IPwmPort a2Pin, IDigitalOutputPort enablePin, float pwmFrequency = 1600)
Meadow.Foundation.Relays
Meadow.Foundation.Sensors
Meadow.Foundation.Sensors.Base
Meadow.Foundation.Sensors.Buttons
Meadow.Foundation.Sensors.Environmental
Meadow.Foundation.Sensors.HallEffect
-
public class LinearHallEffectTachometer
- protected float lastNotifiedRPMs
- protected ushort numberOfReads
- protected DateTime revolutionTimeStart
- protected float rpms
- protected IDigitalInterruptPort InputPort { get; protected set; }
- public bool IsDisposed { get; }
- protected float _lastNotifiedRPMs
- protected ushort _numberOfReads
- protected DateTime _revolutionTimeStart
- protected float _RPMs
- public IDigitalInputPort InputPort { get; }
- public event EventHandler<ChangeResult<float>> RPMsChanged
- public LinearHallEffectTachometer(IPin inputPin, CircuitTerminationType type = 0, ushort numberOfMagnets = 2, float rpmChangeNotificationThreshold = 1)
- public LinearHallEffectTachometer(IDigitalInterruptPort inputPort, CircuitTerminationType type = 0, ushort numberOfMagnets = 2, float rpmChangeNotificationThreshold = 1)
- public void Dispose()
- protected virtual void Dispose(bool disposing)
- public event EventHandler<FloatChangeResult> RPMsChanged
- public LinearHallEffectTachometer(IIODevice device, IPin inputPin, CircuitTerminationType type = 0, ushort numberOfMagnets = 2, float rpmChangeNotificationThreshold = 1)
- public LinearHallEffectTachometer(IDigitalInputPort inputPort, CircuitTerminationType type = 0, ushort numberOfMagnets = 2, float rpmChangeNotificationThreshold = 1)
Meadow.Foundation.Sensors.Hid
-
public class AnalogJoystick : FilterableObservableBase<JoystickPositionChangeResult, JoystickPosition>
- public enum DigitalJoystickPosition
- protected int sampleCount
- protected int sampleIntervalMs
- public DigitalJoystickPosition? DigitalPosition { get; }
- public bool IsDisposed { get; }
- public bool IsHorizontalInverted { get; set; }
- public bool IsVerticalInverted { get; set; }
- public AnalogJoystickPosition? Position { get; protected set; }
- public float HorizontalValue { get; protected set; }
- public bool IsInverted { get; protected set; }
- public DigitalJoystickPosition Position { get; }
- public AnalogJoystick(IPin horizontalPin, IPin verticalPin, JoystickCalibration calibration = null)
- public AnalogJoystick(IPin horizontalPin, IPin verticalPin, JoystickCalibration calibration, int sampleCount, TimeSpan sampleInterval)
- public AnalogJoystick(IAnalogInputPort horizontalInputPort, IAnalogInputPort verticalInputPort, JoystickCalibration calibration = null)
- public void Dispose()
- protected virtual void Dispose(bool disposing)
- protected DigitalJoystickPosition GetDigitalJoystickPosition()
- public float VerticalValue { get; protected set; }
- public event EventHandler<JoystickPositionChangeResult> Updated
- public AnalogJoystick(IIODevice device, IPin horizontalPin, IPin verticalPin, JoystickCalibration calibration = null, bool isInverted = false)
- public AnalogJoystick(IAnalogInputPort horizontalInputPort, IAnalogInputPort verticalInputPort, JoystickCalibration calibration = null, bool isInverted = false)
- public Task<float> GetHorizontalValue()
- public Task<DigitalJoystickPosition> GetPosition()
- public Task<float> GetVerticalValue()
- public bool IsJoystickInPosition(DigitalJoystickPosition position)
- protected void RaiseEventsAndNotify(JoystickPositionChangeResult changeResult)
- public Task SetRange(int duration)
- public void StartUpdating(int sampleCount = 3, int sampleIntervalDuration = 40, int standbyDuration = 100)
- public void StopUpdating()
-
public class DigitalJoystick : IDigitalJoystick, IDisposable
Meadow.Foundation.Sensors.Light
Meadow.Foundation.Sensors.Rotary
Meadow.Foundation.Sensors.Spatial
Meadow.Foundation.Sensors.Switches
-
public class DipSwitch
- public ISwitch[] Switches
- public ISwitch[] Switches { get; }
- public DipSwitch(IPin[] switchPins, InterruptMode interruptMode, ResistorMode resistorMode)
- public DipSwitch(IPin[] switchPins, InterruptMode interruptMode, ResistorMode resistorMode, TimeSpan debounceDuration, TimeSpan glitchFilterCycleCount)
- public DipSwitch(IDigitalInterruptPort[] interruptPorts)
- public DipSwitch(IIODevice device, IPin[] switchPins, InterruptMode interruptMode, ResistorMode resistorMode, int debounceDuration = 20, int glitchFilterCycleCount = 0)
- public DipSwitch(IDigitalInputPort[] interruptPorts)
-
public class SpdtSwitch : ISwitch, ISensor
- protected IDigitalInterruptPort DigitalInputPort { get; protected set; }
- public bool IsDisposed { get; }
- public IDigitalInputPort DigitalIn { get; protected set; }
- public SpdtSwitch(IPin pin, InterruptMode interruptMode, ResistorMode resistorMode)
- public SpdtSwitch(IPin pin, InterruptMode interruptMode, ResistorMode resistorMode, TimeSpan debounceDuration, TimeSpan glitchFilterCycleCount)
- public SpdtSwitch(IDigitalInterruptPort interruptPort)
- protected void DigitalInChanged(object sender, DigitalPortResult e)
- public void Dispose()
- protected virtual void Dispose(bool disposing)
- public Task<bool> Read()
- public SpdtSwitch(IIODevice device, IPin pin, InterruptMode interruptMode, ResistorMode resistorMode, int debounceDuration = 20, int glitchFilterCycleCount = 0)
- public SpdtSwitch(IDigitalInputPort interruptPort)
- protected void DigitalInChanged(object sender, DigitalInputPortEventArgs e)
-
public class SpstSwitch : ISwitch, ISensor
- protected IDigitalInterruptPort DigitalInputPort { get; protected set; }
- public bool IsDisposed { get; }
- public IDigitalInputPort DigitalIn { get; protected set; }
- public SpstSwitch(IPin pin, InterruptMode interruptMode, ResistorMode resistorMode)
- public SpstSwitch(IPin pin, InterruptMode interruptMode, ResistorMode resistorMode, TimeSpan debounceDuration, TimeSpan glitchFilterCycleCount)
- public SpstSwitch(IDigitalInterruptPort interruptPort)
- protected void DigitalInChanged(object sender, DigitalPortResult e)
- public void Dispose()
- protected virtual void Dispose(bool disposing)
- public Task<bool> Read()
- public SpstSwitch(IIODevice device, IPin pin, InterruptMode interruptMode, ResistorMode resistorMode, int debounceDuration = 20, int glitchFilterCycleCount = 0)
- public SpstSwitch(IDigitalInputPort interruptPort)
- protected void DigitalInChanged(object sender, DigitalInputPortEventArgs e)
Meadow.Foundation.Sensors.Temperature
-
public class AnalogTemperature : FilterableObservableBase<AtmosphericConditionChangeResult, AtmosphericConditions>, ITemperatureSensor, ISensor, IObservable<AtmosphericConditionChangeResult>
- public bool IsDisposed { get; }
- public Calibration SensorCalibration { get; set; }
- public Temperature? Temperature { get; protected set; }
- public AnalogTemperature(IPin analogPin, KnownSensorType sensorType, Calibration calibration = null, int sampleCount = 5, TimeSpan? sampleInterval = default)
- public float Temperature { get; protected set; }
- public event EventHandler<AtmosphericConditionChangeResult> Updated
- public AnalogTemperature(IIODevice device, IPin analogPin, KnownSensorType sensorType, Calibration calibration = null)
- public void Dispose()
- protected virtual void Dispose(bool disposing)
- protected Temperature VoltageToTemperature(Voltage voltage)
- 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)
Meadow.Foundation.Spatial
-
public class EulerAngles
- public Angle Heading { get; set; }
- public Angle Pitch { get; set; }
- public Angle Roll { get; set; }
- public EulerAngles(Angle heading, Angle roll, Angle pitch)
- public double Heading { get; set; }
- public double Pitch { get; set; }
- public double Roll { get; set; }
- public EulerAngles(double heading, double roll, double pitch)
-
public class Vector