Skip to content

Commit 74cea6a

Browse files
committed
Fixed code
1 parent 5109187 commit 74cea6a

File tree

15 files changed

+137
-121
lines changed

15 files changed

+137
-121
lines changed

Raspberry.IO.Components/Raspberry.IO.Components.csproj

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,16 @@
3737
<Reference Include="Raspberry.System">
3838
<HintPath>..\packages\Raspberry.System.2.0.0\lib\net40\Raspberry.System.dll</HintPath>
3939
</Reference>
40-
<Reference Include="UnitsNet">
41-
<HintPath>..\packages\UnitsNet.3.24.0\lib\net35\UnitsNet.dll</HintPath>
42-
</Reference>
4340
<Reference Include="Common.Logging.Core">
4441
<HintPath>..\packages\Common.Logging.Core.3.3.1\lib\net40\Common.Logging.Core.dll</HintPath>
4542
</Reference>
4643
<Reference Include="Common.Logging">
4744
<HintPath>..\packages\Common.Logging.3.3.1\lib\net40\Common.Logging.dll</HintPath>
4845
</Reference>
46+
<Reference Include="UnitsNet, Version=3.34.0.0, Culture=neutral, processorArchitecture=MSIL">
47+
<HintPath>..\packages\UnitsNet.3.34.0\lib\net35\UnitsNet.dll</HintPath>
48+
<Private>True</Private>
49+
</Reference>
4950
</ItemGroup>
5051
<ItemGroup>
5152
<Compile Include="..\SharedAssemblyInfo.cs">
@@ -191,8 +192,5 @@
191192
-->
192193
<ItemGroup />
193194
<ItemGroup />
194-
<ItemGroup>
195-
<Folder Include="Controllers\HT16K33\" />
196-
<Folder Include="Leds\BiColor24Bargraph\" />
197-
</ItemGroup>
195+
<ItemGroup />
198196
</Project>

Raspberry.IO.Components/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
<package id="Common.Logging" version="3.3.1" targetFramework="net40" />
44
<package id="Common.Logging.Core" version="3.3.1" targetFramework="net40" />
55
<package id="Raspberry.System" version="2.0.0" targetFramework="net40" />
6-
<package id="UnitsNet" version="3.24.0" targetFramework="net40" />
6+
<package id="UnitsNet" version="3.34.0" targetFramework="net40" />
77
</packages>

Raspberry.IO.GeneralPurpose/GpioInputBinaryPin.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
using System;
2-
using Raspberry.IO;
32

43
namespace Raspberry.IO.GeneralPurpose
54
{
65
/// <summary>
76
/// Represents a GPIO input binary pin.
87
/// </summary>
9-
public class GpioInputBinaryPin : Raspberry.IO.IInputBinaryPin
8+
public class GpioInputBinaryPin : IInputBinaryPin
109
{
1110
#region Fields
1211

Raspberry.IO.GeneralPurpose/Raspberry.IO.GeneralPurpose.csproj

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@
3939
<Reference Include="Raspberry.System">
4040
<HintPath>..\packages\Raspberry.System.2.0.0\lib\net40\Raspberry.System.dll</HintPath>
4141
</Reference>
42-
<Reference Include="Raspberry.IO">
43-
<HintPath>..\Raspberry.IO\bin\Debug\Raspberry.IO.dll</HintPath>
44-
</Reference>
45-
<Reference Include="Raspberry.IO.Interop">
46-
<HintPath>..\Raspberry.IO.Interop\bin\Debug\Raspberry.IO.Interop.dll</HintPath>
47-
</Reference>
4842
</ItemGroup>
4943
<ItemGroup>
5044
<Compile Include="..\SharedAssemblyInfo.cs">
@@ -91,6 +85,16 @@
9185
<ItemGroup>
9286
<None Include="packages.config" />
9387
</ItemGroup>
88+
<ItemGroup>
89+
<ProjectReference Include="..\Raspberry.IO.Interop\Raspberry.IO.Interop.csproj">
90+
<Project>{689CB6C4-3D23-45DA-8E00-87C28AEA32D0}</Project>
91+
<Name>Raspberry.IO.Interop</Name>
92+
</ProjectReference>
93+
<ProjectReference Include="..\Raspberry.IO\Raspberry.IO.csproj">
94+
<Project>{ACE64F17-87E5-43E7-97A0-BDDE19059C61}</Project>
95+
<Name>Raspberry.IO</Name>
96+
</ProjectReference>
97+
</ItemGroup>
9498
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
9599
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
96100
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

RaspberrySharp.IO.sln

Lines changed: 70 additions & 77 deletions
Large diffs are not rendered by default.

Tests/Test.Gpio.DHT11/Test.Gpio.DHT11.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@
4545
<Reference Include="Raspberry.System">
4646
<HintPath>..\..\packages\Raspberry.System.2.0.0\lib\net40\Raspberry.System.dll</HintPath>
4747
</Reference>
48-
<Reference Include="UnitsNet">
49-
<HintPath>..\..\packages\UnitsNet.3.10.0\lib\net35\UnitsNet.dll</HintPath>
48+
<Reference Include="UnitsNet, Version=3.34.0.0, Culture=neutral, processorArchitecture=MSIL">
49+
<HintPath>..\..\packages\UnitsNet.3.34.0\lib\net35\UnitsNet.dll</HintPath>
50+
<Private>True</Private>
5051
</Reference>
5152
</ItemGroup>
5253
<ItemGroup>

Tests/Test.Gpio.DHT11/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="Raspberry.System" version="2.0.0" targetFramework="net40" />
4-
<package id="UnitsNet" version="3.10.0" targetFramework="net40" />
4+
<package id="UnitsNet" version="3.34.0" targetFramework="net40" />
55
</packages>

Tests/Test.Gpio.HCSR04/Test.Gpio.HCSR04.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@
6161
<Reference Include="Raspberry.System">
6262
<HintPath>..\..\packages\Raspberry.System.2.0.0\lib\net40\Raspberry.System.dll</HintPath>
6363
</Reference>
64-
<Reference Include="UnitsNet">
65-
<HintPath>..\..\packages\UnitsNet.3.10.0\lib\net35\UnitsNet.dll</HintPath>
64+
<Reference Include="UnitsNet, Version=3.34.0.0, Culture=neutral, processorArchitecture=MSIL">
65+
<HintPath>..\..\packages\UnitsNet.3.34.0\lib\net35\UnitsNet.dll</HintPath>
66+
<Private>True</Private>
6667
</Reference>
6768
</ItemGroup>
6869
<ItemGroup>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="Raspberry.System" version="2.0.0" targetFramework="net40" />
4-
<package id="UnitsNet" version="3.10.0" targetFramework="net40" />
4+
<package id="UnitsNet" version="3.34.0" targetFramework="net40" />
55
</packages>

Tests/Test.Gpio.MCP3008/Test.Gpio.MCP3008.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@
5858
<ItemGroup>
5959
<Reference Include="System" />
6060
<Reference Include="System.Core" />
61-
<Reference Include="UnitsNet">
62-
<HintPath>..\..\packages\UnitsNet.3.10.0\lib\net35\UnitsNet.dll</HintPath>
61+
<Reference Include="UnitsNet, Version=3.34.0.0, Culture=neutral, processorArchitecture=MSIL">
62+
<HintPath>..\..\packages\UnitsNet.3.34.0\lib\net35\UnitsNet.dll</HintPath>
63+
<Private>True</Private>
6364
</Reference>
6465
</ItemGroup>
6566
<ItemGroup>

0 commit comments

Comments
 (0)