Skip to content

Commit

Permalink
Merge pull request #23 from WildernessLabs/develop
Browse files Browse the repository at this point in the history
Merge to main for RC2-1
  • Loading branch information
jorgedevs authored Feb 2, 2023
2 parents a8a2679 + 8e148b3 commit 811c08f
Show file tree
Hide file tree
Showing 14 changed files with 142 additions and 16 deletions.
7 changes: 6 additions & 1 deletion Source/CharlieWing/Driver/CharlieWing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class CharlieWing : IGraphicsDisplay
/// <summary>
/// Color mode of display
/// </summary>
public ColorType ColorMode => ColorType.Format8bppGray;
public ColorMode ColorMode => ColorMode.Format8bppGray;

/// <summary>
/// Width of display in pixels
Expand All @@ -42,6 +42,11 @@ public class CharlieWing : IGraphicsDisplay
/// </summary>
public IPixelBuffer PixelBuffer => throw new NotImplementedException();

/// <summary>
/// Color modes supported by the device
/// </summary>
public ColorMode SupportedColorModes => ColorMode.Format8bppGray;

/// <summary>
/// Creates a CharlieWing driver
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meadow.F7" Version="0.*" />
<PackageReference Include="Meadow.Foundation.Displays.MicroGraphics" Version="0.*" />
<PackageReference Include="Meadow.Foundation.FeatherWings.CharlieWing" Version="0.*" />
<PackageReference Include="Meadow.Foundation.Graphics.MicroGraphics" Version="0.*" />
<ProjectReference Include="..\..\Driver\CharlieWing.csproj" />
</ItemGroup>
</Project>
7 changes: 6 additions & 1 deletion Source/DotstarWing/Driver/DotstarWing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ public class DotstarWing : IGraphicsDisplay
/// <summary>
/// Returns the color mode
/// </summary>
public ColorType ColorMode => ColorType.Format12bppRgb444;
public ColorMode ColorMode => ColorMode.Format12bppRgb444;

/// <summary>
/// Color modes supported by the device
/// </summary>
public ColorMode SupportedColorModes => ColorMode.Format12bppRgb444;

/// <summary>
/// Returns the width of the RGB LED matrix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meadow.F7" Version="0.*" />
<PackageReference Include="Meadow.Foundation.FeatherWings.DotstarWing" Version="0.*" />
<PackageReference Include="Meadow.Foundation.Displays.MicroGraphics" Version="0.*" />
<ProjectReference Include="..\..\Driver\DotstarWing.csproj" />
<PackageReference Include="Meadow.Foundation.Graphics.MicroGraphics" Version="0.*" />
</ItemGroup>
</Project>
110 changes: 110 additions & 0 deletions Source/FeatherWings.sln
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,32 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServoWing", "ServoWing\Driv
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServoWing_Sample", "ServoWing\Sample\ServoWing_Sample\ServoWing_Sample.csproj", "{8F504BB6-31D4-4BF4-B3C3-D9FE39CB29D3}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_External", "_External", "{BB1A7E97-4559-459B-BDF8-4ED41758AB29}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Meadow.F7", "..\..\Meadow.Core\source\implementations\f7\Meadow.F7\Meadow.F7.csproj", "{59624F1F-91C6-4D1A-B408-BA8E85B764B8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Servos.ServoCore", "..\..\Meadow.Foundation\Source\Meadow.Foundation.Peripherals\Servos.ServoCore\Driver\Servos.ServoCore.csproj", "{F7DF19C0-6ABF-44EB-8DF0-F6223A3753B6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ICs.IOExpanders.Pca9685", "..\..\Meadow.Foundation\Source\Meadow.Foundation.Peripherals\ICs.IOExpanders.Pca9685\Driver\ICs.IOExpanders.Pca9685.csproj", "{31DAEBA3-F497-4FFD-9BD2-88771CCC457A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ICs.IOExpanders.Ht16k33", "..\..\Meadow.Foundation\Source\Meadow.Foundation.Peripherals\ICs.IOExpanders.Ht16k33\Driver\ICs.IOExpanders.Ht16k33.csproj", "{664930F3-8A51-469E-A8C2-AD8B3062BA8A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sensors.Hid.Tsc2004", "..\..\Meadow.Foundation\Source\Meadow.Foundation.Peripherals\Sensors.Hid.Tsc2004\Driver\Sensors.Hid.Tsc2004.csproj", "{BEAD4EA5-8716-45C7-934B-BDC2528EECC6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Displays.TftSpi", "..\..\Meadow.Foundation\Source\Meadow.Foundation.Peripherals\Displays.TftSpi\Driver\Displays.TftSpi.csproj", "{0B17CBFA-74A1-496D-ACB1-FB42DD50795F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sensors.Hid.Bbq10Keyboard", "..\..\Meadow.Foundation\Source\Meadow.Foundation.Peripherals\Sensors.Hid.BBQ10Keyboard\Driver\Sensors.Hid.Bbq10Keyboard.csproj", "{B7A2DBDB-B83A-44F4-9B2E-F0CCF2A75F5F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sensors.Gnss.Mt3339", "..\..\Meadow.Foundation\Source\Meadow.Foundation.Peripherals\Sensors.Gnss.Mt3339\Driver\Sensors.Gnss.Mt3339.csproj", "{ABFCE6E8-7676-4C84-850F-3B3DACA6D2C0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Graphics.MicroGraphics", "..\..\Meadow.Foundation\Source\Meadow.Foundation.Libraries_and_Frameworks\Graphics.MicroGraphics\Driver\Graphics.MicroGraphics.csproj", "{F9B55BF2-724B-4BA7-9ADD-38C15BCBFDEA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ICs.IOExpanders.Is31fl3731", "..\..\Meadow.Foundation\Source\Meadow.Foundation.Peripherals\ICs.IOExpanders.Is31fl3731\Driver\ICs.IOExpanders.Is31fl3731.csproj", "{9E95F289-F4FB-4530-B92B-D2D78C772E89}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Leds.Apa102", "..\..\Meadow.Foundation\Source\Meadow.Foundation.Peripherals\Leds.Apa102\Driver\Leds.Apa102.csproj", "{B7159B77-A8B2-42B3-80B8-A62DEA13AB31}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Displays.Ssd130x", "..\..\Meadow.Foundation\Source\Meadow.Foundation.Peripherals\Displays.Ssd130x\Driver\Displays.Ssd130x.csproj", "{EF231FE5-3C87-469F-B5D9-065C32AA993D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -169,6 +195,78 @@ Global
{8F504BB6-31D4-4BF4-B3C3-D9FE39CB29D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8F504BB6-31D4-4BF4-B3C3-D9FE39CB29D3}.Release|Any CPU.Build.0 = Release|Any CPU
{8F504BB6-31D4-4BF4-B3C3-D9FE39CB29D3}.Release|Any CPU.Deploy.0 = Release|Any CPU
{59624F1F-91C6-4D1A-B408-BA8E85B764B8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{59624F1F-91C6-4D1A-B408-BA8E85B764B8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{59624F1F-91C6-4D1A-B408-BA8E85B764B8}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{59624F1F-91C6-4D1A-B408-BA8E85B764B8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{59624F1F-91C6-4D1A-B408-BA8E85B764B8}.Release|Any CPU.Build.0 = Release|Any CPU
{59624F1F-91C6-4D1A-B408-BA8E85B764B8}.Release|Any CPU.Deploy.0 = Release|Any CPU
{F7DF19C0-6ABF-44EB-8DF0-F6223A3753B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F7DF19C0-6ABF-44EB-8DF0-F6223A3753B6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F7DF19C0-6ABF-44EB-8DF0-F6223A3753B6}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{F7DF19C0-6ABF-44EB-8DF0-F6223A3753B6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F7DF19C0-6ABF-44EB-8DF0-F6223A3753B6}.Release|Any CPU.Build.0 = Release|Any CPU
{F7DF19C0-6ABF-44EB-8DF0-F6223A3753B6}.Release|Any CPU.Deploy.0 = Release|Any CPU
{31DAEBA3-F497-4FFD-9BD2-88771CCC457A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{31DAEBA3-F497-4FFD-9BD2-88771CCC457A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{31DAEBA3-F497-4FFD-9BD2-88771CCC457A}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{31DAEBA3-F497-4FFD-9BD2-88771CCC457A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{31DAEBA3-F497-4FFD-9BD2-88771CCC457A}.Release|Any CPU.Build.0 = Release|Any CPU
{31DAEBA3-F497-4FFD-9BD2-88771CCC457A}.Release|Any CPU.Deploy.0 = Release|Any CPU
{664930F3-8A51-469E-A8C2-AD8B3062BA8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{664930F3-8A51-469E-A8C2-AD8B3062BA8A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{664930F3-8A51-469E-A8C2-AD8B3062BA8A}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{664930F3-8A51-469E-A8C2-AD8B3062BA8A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{664930F3-8A51-469E-A8C2-AD8B3062BA8A}.Release|Any CPU.Build.0 = Release|Any CPU
{664930F3-8A51-469E-A8C2-AD8B3062BA8A}.Release|Any CPU.Deploy.0 = Release|Any CPU
{BEAD4EA5-8716-45C7-934B-BDC2528EECC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BEAD4EA5-8716-45C7-934B-BDC2528EECC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BEAD4EA5-8716-45C7-934B-BDC2528EECC6}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{BEAD4EA5-8716-45C7-934B-BDC2528EECC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BEAD4EA5-8716-45C7-934B-BDC2528EECC6}.Release|Any CPU.Build.0 = Release|Any CPU
{BEAD4EA5-8716-45C7-934B-BDC2528EECC6}.Release|Any CPU.Deploy.0 = Release|Any CPU
{0B17CBFA-74A1-496D-ACB1-FB42DD50795F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0B17CBFA-74A1-496D-ACB1-FB42DD50795F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0B17CBFA-74A1-496D-ACB1-FB42DD50795F}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{0B17CBFA-74A1-496D-ACB1-FB42DD50795F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0B17CBFA-74A1-496D-ACB1-FB42DD50795F}.Release|Any CPU.Build.0 = Release|Any CPU
{0B17CBFA-74A1-496D-ACB1-FB42DD50795F}.Release|Any CPU.Deploy.0 = Release|Any CPU
{B7A2DBDB-B83A-44F4-9B2E-F0CCF2A75F5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B7A2DBDB-B83A-44F4-9B2E-F0CCF2A75F5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B7A2DBDB-B83A-44F4-9B2E-F0CCF2A75F5F}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{B7A2DBDB-B83A-44F4-9B2E-F0CCF2A75F5F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B7A2DBDB-B83A-44F4-9B2E-F0CCF2A75F5F}.Release|Any CPU.Build.0 = Release|Any CPU
{B7A2DBDB-B83A-44F4-9B2E-F0CCF2A75F5F}.Release|Any CPU.Deploy.0 = Release|Any CPU
{ABFCE6E8-7676-4C84-850F-3B3DACA6D2C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ABFCE6E8-7676-4C84-850F-3B3DACA6D2C0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ABFCE6E8-7676-4C84-850F-3B3DACA6D2C0}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{ABFCE6E8-7676-4C84-850F-3B3DACA6D2C0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ABFCE6E8-7676-4C84-850F-3B3DACA6D2C0}.Release|Any CPU.Build.0 = Release|Any CPU
{ABFCE6E8-7676-4C84-850F-3B3DACA6D2C0}.Release|Any CPU.Deploy.0 = Release|Any CPU
{F9B55BF2-724B-4BA7-9ADD-38C15BCBFDEA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F9B55BF2-724B-4BA7-9ADD-38C15BCBFDEA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F9B55BF2-724B-4BA7-9ADD-38C15BCBFDEA}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{F9B55BF2-724B-4BA7-9ADD-38C15BCBFDEA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F9B55BF2-724B-4BA7-9ADD-38C15BCBFDEA}.Release|Any CPU.Build.0 = Release|Any CPU
{F9B55BF2-724B-4BA7-9ADD-38C15BCBFDEA}.Release|Any CPU.Deploy.0 = Release|Any CPU
{9E95F289-F4FB-4530-B92B-D2D78C772E89}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9E95F289-F4FB-4530-B92B-D2D78C772E89}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9E95F289-F4FB-4530-B92B-D2D78C772E89}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{9E95F289-F4FB-4530-B92B-D2D78C772E89}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9E95F289-F4FB-4530-B92B-D2D78C772E89}.Release|Any CPU.Build.0 = Release|Any CPU
{9E95F289-F4FB-4530-B92B-D2D78C772E89}.Release|Any CPU.Deploy.0 = Release|Any CPU
{B7159B77-A8B2-42B3-80B8-A62DEA13AB31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B7159B77-A8B2-42B3-80B8-A62DEA13AB31}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B7159B77-A8B2-42B3-80B8-A62DEA13AB31}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{B7159B77-A8B2-42B3-80B8-A62DEA13AB31}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B7159B77-A8B2-42B3-80B8-A62DEA13AB31}.Release|Any CPU.Build.0 = Release|Any CPU
{B7159B77-A8B2-42B3-80B8-A62DEA13AB31}.Release|Any CPU.Deploy.0 = Release|Any CPU
{EF231FE5-3C87-469F-B5D9-065C32AA993D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EF231FE5-3C87-469F-B5D9-065C32AA993D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EF231FE5-3C87-469F-B5D9-065C32AA993D}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{EF231FE5-3C87-469F-B5D9-065C32AA993D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EF231FE5-3C87-469F-B5D9-065C32AA993D}.Release|Any CPU.Build.0 = Release|Any CPU
{EF231FE5-3C87-469F-B5D9-065C32AA993D}.Release|Any CPU.Deploy.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -198,6 +296,18 @@ Global
{B5B58E80-D5C7-4EF3-BFC3-C17ED9B15E4D} = {18F79DC9-68E5-4D76-BDD9-850E8FC9FA35}
{28B2EF36-0BFE-41DC-B253-631D82E84EE7} = {293F2FC1-21F9-4825-B2C5-EBFA6876E364}
{8F504BB6-31D4-4BF4-B3C3-D9FE39CB29D3} = {8E81ED23-EEDE-417E-9084-D6BBBBA5CA2C}
{59624F1F-91C6-4D1A-B408-BA8E85B764B8} = {BB1A7E97-4559-459B-BDF8-4ED41758AB29}
{F7DF19C0-6ABF-44EB-8DF0-F6223A3753B6} = {BB1A7E97-4559-459B-BDF8-4ED41758AB29}
{31DAEBA3-F497-4FFD-9BD2-88771CCC457A} = {BB1A7E97-4559-459B-BDF8-4ED41758AB29}
{664930F3-8A51-469E-A8C2-AD8B3062BA8A} = {BB1A7E97-4559-459B-BDF8-4ED41758AB29}
{BEAD4EA5-8716-45C7-934B-BDC2528EECC6} = {BB1A7E97-4559-459B-BDF8-4ED41758AB29}
{0B17CBFA-74A1-496D-ACB1-FB42DD50795F} = {BB1A7E97-4559-459B-BDF8-4ED41758AB29}
{B7A2DBDB-B83A-44F4-9B2E-F0CCF2A75F5F} = {BB1A7E97-4559-459B-BDF8-4ED41758AB29}
{ABFCE6E8-7676-4C84-850F-3B3DACA6D2C0} = {BB1A7E97-4559-459B-BDF8-4ED41758AB29}
{F9B55BF2-724B-4BA7-9ADD-38C15BCBFDEA} = {BB1A7E97-4559-459B-BDF8-4ED41758AB29}
{9E95F289-F4FB-4530-B92B-D2D78C772E89} = {BB1A7E97-4559-459B-BDF8-4ED41758AB29}
{B7159B77-A8B2-42B3-80B8-A62DEA13AB31} = {BB1A7E97-4559-459B-BDF8-4ED41758AB29}
{EF231FE5-3C87-469F-B5D9-065C32AA993D} = {BB1A7E97-4559-459B-BDF8-4ED41758AB29}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {673CD5FD-E4C7-48D7-85EA-3CB6FAD87939}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meadow.F7" Version="0.*" />
<PackageReference Include="Meadow.Foundation.FeatherWings.GPSWing" Version="0.*" />
<ProjectReference Include="..\..\Driver\GPSWing.csproj" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion Source/GPSWing/Samples/GPSWing_Sample/MeadowApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public override Task Initialize()
Console.WriteLine("Initialize...");

var serial = Device.CreateSerialMessagePort(
Device.SerialPortNames.Com4,
Device.PlatformOS.GetSerialPortName("Com4"),
suffixDelimiter: Encoding.ASCII.GetBytes("\r\n"),
preserveDelimiter: true,
baudRate: 9600);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meadow.F7" Version="0.*" />
<PackageReference Include="Meadow.Foundation.FeatherWings.KeyboardWing" Version="0.*" />
<ProjectReference Include="..\..\Driver\KeyboardWing.csproj" />
</ItemGroup>
</Project>
7 changes: 6 additions & 1 deletion Source/LedMatrix8x16Wing/Driver/LedMatrix8x16Wing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ public partial class LedMatrix8x16Wing : IGraphicsDisplay
/// <summary>
/// Returns the color mode
/// </summary>
public ColorType ColorMode => ColorType.Format1bpp;
public ColorMode ColorMode => ColorMode.Format1bpp;

/// <summary>
/// Color modes supported by the device
/// </summary>
public ColorMode SupportedColorModes => ColorMode.Format1bpp;

/// <summary>
/// Returns the width of the RGB LED matrix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meadow.F7" Version="0.*" />
<PackageReference Include="Meadow.Foundation.Displays.MicroGraphics" Version="0.*" />
<PackageReference Include="Meadow.Foundation.FeatherWings.LedMatrix8x16Wing" Version="0.*" />
<PackageReference Include="Meadow.Foundation.Graphics.MicroGraphics" Version="0.*" />
<ProjectReference Include="..\..\Driver\LedMatrix8x16Wing.csproj" />
</ItemGroup>
</Project>
3 changes: 2 additions & 1 deletion Source/MotorWing/Sample/MotorWing_Sample/MeadowApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Meadow.Devices;
using Meadow.Foundation.FeatherWings;
using Meadow.Hardware;
using Meadow.Units;
using System;
using System.Threading.Tasks;

Expand All @@ -18,7 +19,7 @@ public override Task Initialize()
Console.WriteLine("Initializing ...");

var i2CBus = Device.CreateI2cBus(I2cBusSpeed.FastPlus);
motorWing = new MotorWing(i2CBus, 0x61);
motorWing = new MotorWing(i2CBus, new Frequency(100, Frequency.UnitType.Hertz), 0x61);
motorWing.Initialize();

return Task.CompletedTask;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meadow.F7" Version="0.*" />
<PackageReference Include="Meadow.Foundation.FeatherWings.MotorWing" Version="0.*" />
<ProjectReference Include="..\..\Driver\MotorWing.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meadow.F7" Version="0.*" />
<PackageReference Include="Meadow.Foundation.FeatherWings.OLED128x32Wing" Version="0.*" />
<ProjectReference Include="..\..\Driver\OLED128x32Wing.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Meadow.F7" Version="0.*" />
<PackageReference Include="Meadow.Foundation.FeatherWings.ServoWing" Version="0.*" />
<ProjectReference Include="..\..\Driver\ServoWing.csproj" />
</ItemGroup>
</Project>

0 comments on commit 811c08f

Please sign in to comment.