Skip to content

Commit 0aa84fc

Browse files
committed
Analog updates
1 parent 0c73757 commit 0aa84fc

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Source/Directory.Packages.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<Project>
2+
<Import Project="../../Meadow.Contracts/Source/Directory.Packages.props" />
3+
</Project>

Source/Meadow.Clima/Hardware/ClimaHardwareBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ public abstract class ClimaHardwareBase : IClimaHardware
6464
public IAnemometer? Anemometer => GetAnemometer();
6565

6666
/// <inheritdoc/>
67-
public IAnalogInputPort? SolarVoltageInput { get; protected set; }
67+
public IObservableAnalogInputPort? SolarVoltageInput { get; protected set; }
6868

6969
/// <inheritdoc/>
70-
public IAnalogInputPort? BatteryVoltageInput { get; protected set; }
70+
public IObservableAnalogInputPort? BatteryVoltageInput { get; protected set; }
7171

7272
/// <inheritdoc/>
7373
public IRgbPwmLed? RgbLed => GetRgbPwmLed();

Source/Meadow.Clima/Hardware/IClimaHardware.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ public interface IClimaHardware : IMeadowAppEmbeddedHardware
6666
/// <summary>
6767
/// The Solar Voltage Input on the Clima board
6868
/// </summary>
69-
public IAnalogInputPort? SolarVoltageInput { get; }
69+
public IObservableAnalogInputPort? SolarVoltageInput { get; }
7070

7171
/// <summary>
7272
/// The Battery Voltage Input on the Clima board
7373
/// </summary>
74-
public IAnalogInputPort? BatteryVoltageInput { get; }
74+
public IObservableAnalogInputPort? BatteryVoltageInput { get; }
7575

7676
/// <summary>
7777
/// The RGB PWM LED on the Clima board

0 commit comments

Comments
 (0)