Meadow.Foundation.Sensors.Power.Ina260
1.5.0.1-beta
Meadow.Foundation.Sensors.Power.Ina2xx
Additional DetailsPackage re-released with additional Ina2xx drivers.
dotnet add package Meadow.Foundation.Sensors.Power.Ina260 --version 1.5.0.1-beta
NuGet\Install-Package Meadow.Foundation.Sensors.Power.Ina260 -Version 1.5.0.1-beta
<PackageReference Include="Meadow.Foundation.Sensors.Power.Ina260" Version="1.5.0.1-beta" />
paket add Meadow.Foundation.Sensors.Power.Ina260 --version 1.5.0.1-beta
#r "nuget: Meadow.Foundation.Sensors.Power.Ina260, 1.5.0.1-beta"
// Install Meadow.Foundation.Sensors.Power.Ina260 as a Cake Addin
#addin nuget:?package=Meadow.Foundation.Sensors.Power.Ina260&version=1.5.0.1-beta&prerelease
// Install Meadow.Foundation.Sensors.Power.Ina260 as a Cake Tool
#tool nuget:?package=Meadow.Foundation.Sensors.Power.Ina260&version=1.5.0.1-beta&prerelease
Meadow.Foundation.Sensors.Power.Ina260
INA260 I2C current and power monitor
The Ina260 library is designed for the Wilderness Labs Meadow .NET IoT platform and is part of Meadow.Foundation.
The Meadow.Foundation peripherals library is an open-source repository of drivers and libraries that streamline and simplify adding hardware to your C# .NET Meadow IoT application.
For more information on developing for Meadow, visit developer.wildernesslabs.co.
To view all Wilderness Labs open-source projects, including samples, visit github.com/wildernesslabs.
Usage
Ina260 ina260;
public override Task Initialize()
{
Resolver.Log.Info("Initialize...");
var bus = Device.CreateI2cBus();
ina260 = new Ina260(bus);
Resolver.Log.Info($"-- INA260 Sample App ---");
Resolver.Log.Info($"Manufacturer: {ina260.ManufacturerID}");
Resolver.Log.Info($"Die: {ina260.DieID}");
ina260.Updated += (s, v) =>
{
Resolver.Log.Info($"{v.New.Item2}V @ {v.New.Item3}A");
};
return Task.CompletedTask;
}
public override Task Run()
{
ina260.StartUpdating(TimeSpan.FromSeconds(2));
return Task.CompletedTask;
}
How to Contribute
- Found a bug? Report an issue
- Have a feature idea or driver request? Open a new feature request
- Want to contribute code? Fork the Meadow.Foundation repository and submit a pull request against the
develop
branch
Need Help?
If you have questions or need assistance, please join the Wilderness Labs community on Slack.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Meadow.Foundation (>= 1.5.0.1-beta)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.5.0 | 159 | 11/28/2023 | |
1.4.0.9-beta | 111 | 11/28/2023 | |
1.4.0.3 | 186 | 10/31/2023 | |
1.3.4.10-beta | 115 | 10/25/2023 | |
1.3.1.1-beta | 140 | 9/5/2023 | |
1.3.0 | 234 | 8/29/2023 | |
1.1.1.11-beta | 167 | 7/24/2023 | |
1.1.1.10-beta | 159 | 7/22/2023 | |
0.90.0 | 394 | 11/23/2022 | |
0.89.2 | 393 | 11/23/2022 |