Skip to content

alandoherty/spidriver-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub license GitHub issues GitHub stars GitHub forks GitHub forks

spidriver

An unofficial .NET library for SPIDriver, allows for synchronous/asynchronous control of the device via the serial port. Open permissive MIT license with a dual-compliation for .NET Standard 2.0 and .NET Framework 4.6.1.

SPIDriver PCB

Getting Started

NuGet Status

You can install the package using either the CLI:

dotnet add package SPIDriver

or from the NuGet package manager:

Install-Package SPIDriver

For assistance with the SPIDriver product itself you can view the user guide hosted on the official website.

Example

You can find the example project Example.CommandLine, which demonstrates a CLI which implements all the features of the library.

> connect
Connected successfully
> status
Model: spidriver1
Serial Number: DO01JHMO
Uptime: 01:56:22
Voltage: 5.203V
Current: 0A
Temperature: 32.6°C
A: True
B: True
CS: True
CRC: 0x0001
> writef airline.mp4
Wrote 1510004 bytes in 33.294s

Contributing

Any pull requests or bug reports are welcome, please try and keep to the existing style conventions and comment any additions.