Files
Proftaak-RH-B4/ProftaakRH/Main.cs
shinichi 0b659a9dc3 better checksum fix
i was the dumb one :`(
2020-09-09 20:55:38 +02:00

30 lines
570 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using Hardware;
using System.Threading;
namespace ProftaakRH
{
class Program
{
static void Main(string[] args)
{
IDataConverter dataConverter = new DataConverter();
BLEHandler bLEHandler = new BLEHandler(dataConverter);
bLEHandler.Connect();
while (!bLEHandler.Running)
{
Thread.Yield();
}
bLEHandler.setResistance(25);
Console.ReadLine();
}
}
}