Add projects

This commit is contained in:
2020-11-23 22:11:14 +01:00
parent cc47f8752e
commit 65faa1b8e8
13 changed files with 567 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Unosquare.RaspberryIO;
using Unosquare.RaspberryIO.Abstractions;
using Unosquare.WiringPi;
namespace WaveshareUARTFingerprintSensor.Sample
{
class Program
{
static void Main(string[] args)
{
var sensor = new FingerprintSensor(FingerprintSensor.PrimarySerialPort);
sensor.Start();
var count = sensor.GetUserCount();
Thread.Sleep(-1);
}
}
}