diff --git a/.gitignore b/.gitignore index c0075d1..ca8183e 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ TestResults **.suo **.sdf *.sln.docstates +.vs/* # resharper /_[Rr]e[Ss]harper.* diff --git a/Icon.png b/Icon.png index 5db0375..6e4145c 100644 Binary files a/Icon.png and b/Icon.png differ diff --git a/README.md b/README.md index 2ef6f8a..b69c7ed 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -Raspberry# IO +This project is discontinued, try https://github.com/JTrotta/RaspberrySharp + +Raspberry# IO ============= See the **[Raspberry\# IO Wiki](https://github.com/raspberry-sharp/raspberry-sharp-io/wiki)** for full documentation and samples. @@ -23,7 +25,7 @@ Features ### Raspberry.IO.GeneralPurpose Raspberry.IO.GeneralPurpose provides a convenient way to use Raspberry Pi GPIO pins, while using .NET concepts, syntax and case. -You can easily add a reference to it in your Visual Studio projects using the **[Raspberry.IO.GeneralPurpose Nuget](https://www.nuget.org/packages/Raspberry.IO.GeneralPurpose)**. +You can easily add a reference to it in your Visual Studio projects using the **[Raspberry.IO.GeneralPurpose Nuget](https://www.nuget.org/packages/Raspberry.IO.GeneralPurpose3)**. It currently support the following features: @@ -43,12 +45,15 @@ High-level: + **High-level behaviors** for output pins, including *blink*, *pattern* and *chaser* ### Raspberry.IO.SerialPeripheralInterface +You can easily add a reference to it in your Visual Studio projects using the **[Raspberry.IO.Raspberry.IO.SerialPeripheralInterface Nuget](https://www.nuget.org/packages/Raspberry.IO.SerialPeripheralInterface3)**. + + Preliminary support for SPI through Raspberry.IO.SerialPeripheralInterface assembly + Includes SPI samples for MCP3008 ADC and MCP4822 DAC + Includes support for Linux's kernel SPI module driver spi-bcm2708 (/dev/spidev0.0) ### Raspberry.IO.InterIntegratedCircuit +You can easily add a reference to it in your Visual Studio projects using the **[Raspberry.IO.Raspberry.IO.InterIntegratedCircuit Nuget](https://www.nuget.org/packages/Raspberry.IO.InterIntegratedCircuit3)**. + Preliminary support for I2C through Raspberry.IO.InterIntegratedCircuit assembly + Includes I2C sample for MCP23017 I/O expander diff --git a/Raspberry.IO.Components/Sensors/Temperature/Dht/InvalidChecksumException.cs b/Raspberry.IO.Components/InvalidChecksumException.cs similarity index 96% rename from Raspberry.IO.Components/Sensors/Temperature/Dht/InvalidChecksumException.cs rename to Raspberry.IO.Components/InvalidChecksumException.cs index 69bb139..4b69371 100644 --- a/Raspberry.IO.Components/Sensors/Temperature/Dht/InvalidChecksumException.cs +++ b/Raspberry.IO.Components/InvalidChecksumException.cs @@ -1,7 +1,7 @@ using System; using System.Globalization; -namespace Raspberry.IO.Components.Sensors.Temperature.Dht +namespace Raspberry.IO.Components { public class InvalidChecksumException : Exception { diff --git a/Raspberry.IO.Components/Raspberry.IO.Components.csproj b/Raspberry.IO.Components/Raspberry.IO.Components.csproj index e875fb8..4aadd6d 100644 --- a/Raspberry.IO.Components/Raspberry.IO.Components.csproj +++ b/Raspberry.IO.Components/Raspberry.IO.Components.csproj @@ -11,6 +11,21 @@ v4.0 512 ..\ + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true true @@ -30,21 +45,23 @@ 4 - - $(SolutionDir)packages\Raspberry.System.2.1\lib\net40\Raspberry.System.dll + + ..\packages\Common.Logging.3.4.1\lib\net40\Common.Logging.dll + True + + + ..\packages\Common.Logging.Core.3.4.1\lib\net40\Common.Logging.Core.dll + True + + + ..\packages\Raspberry.System3.3.1.1\lib\net40\Raspberry.System.dll True - - $(SolutionDir)packages\Common.Logging.Core.3.3.1\lib\net40\Common.Logging.Core.dll - - - $(SolutionDir)packages\Common.Logging.3.3.1\lib\net40\Common.Logging.dll - - - $(SolutionDir)packages\UnitsNet.3.46.1\lib\net35\UnitsNet.dll + + ..\packages\UnitsNet.3.77.0\lib\net35\UnitsNet.dll True @@ -127,6 +144,7 @@ + @@ -134,7 +152,7 @@ - + @@ -181,7 +199,28 @@ - + + + False + Microsoft .NET Framework 4 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + false + + + False + Windows Installer 4.5 + true + + - - + \ No newline at end of file diff --git a/Tests/Test.Gpio.MCP23008/app.config b/Tests/Test.Gpio.MCP23008/app.config new file mode 100644 index 0000000..d88c2d5 --- /dev/null +++ b/Tests/Test.Gpio.MCP23008/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Tests/Test.Gpio.MCP23017/Test.Gpio.MCP23017.csproj b/Tests/Test.Gpio.MCP23017/Test.Gpio.MCP23017.csproj index 3347fd2..52b34eb 100644 --- a/Tests/Test.Gpio.MCP23017/Test.Gpio.MCP23017.csproj +++ b/Tests/Test.Gpio.MCP23017/Test.Gpio.MCP23017.csproj @@ -78,6 +78,7 @@ + diff --git a/Tests/Test.Gpio.MCP23017/app.config b/Tests/Test.Gpio.MCP23017/app.config new file mode 100644 index 0000000..d88c2d5 --- /dev/null +++ b/Tests/Test.Gpio.MCP23017/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Tests/Test.Gpio.MCP3008/Test.Gpio.MCP3008.csproj b/Tests/Test.Gpio.MCP3008/Test.Gpio.MCP3008.csproj index c28ab36..d88f18a 100644 --- a/Tests/Test.Gpio.MCP3008/Test.Gpio.MCP3008.csproj +++ b/Tests/Test.Gpio.MCP3008/Test.Gpio.MCP3008.csproj @@ -57,8 +57,8 @@ - - $(SolutionDir)packages\UnitsNet.3.46.1\lib\net35\UnitsNet.dll + + ..\..\packages\UnitsNet.3.77.0\lib\net35\UnitsNet.dll True @@ -85,6 +85,7 @@ + diff --git a/Tests/Test.Gpio.MCP3008/app.config b/Tests/Test.Gpio.MCP3008/app.config new file mode 100644 index 0000000..d88c2d5 --- /dev/null +++ b/Tests/Test.Gpio.MCP3008/app.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Tests/Test.Gpio.MCP3008/packages.config b/Tests/Test.Gpio.MCP3008/packages.config index b4e59a6..34c380c 100644 --- a/Tests/Test.Gpio.MCP3008/packages.config +++ b/Tests/Test.Gpio.MCP3008/packages.config @@ -1,4 +1,4 @@  - + \ No newline at end of file diff --git a/Tests/Test.Gpio.MCP4822/Test.Gpio.MCP4822.csproj b/Tests/Test.Gpio.MCP4822/Test.Gpio.MCP4822.csproj index e135eb3..9a86c32 100644 --- a/Tests/Test.Gpio.MCP4822/Test.Gpio.MCP4822.csproj +++ b/Tests/Test.Gpio.MCP4822/Test.Gpio.MCP4822.csproj @@ -79,6 +79,9 @@ Raspberry.IO + + + + \ No newline at end of file diff --git a/Tests/Test.Spi.MCP3208/Test.Spi.MCP3208.csproj b/Tests/Test.Spi.MCP3208/Test.Spi.MCP3208.csproj index a2af000..adca89d 100644 --- a/Tests/Test.Spi.MCP3208/Test.Spi.MCP3208.csproj +++ b/Tests/Test.Spi.MCP3208/Test.Spi.MCP3208.csproj @@ -53,6 +53,9 @@ Raspberry.IO + + +