This commit is contained in:
shinichi
2020-09-09 17:09:08 +02:00
parent 11772f33b7
commit 2854684b86
3 changed files with 170 additions and 124 deletions

View File

@@ -2,6 +2,8 @@
using System.Collections.Generic;
using System.Text;
using Hardware;
using System.Threading;
namespace ProftaakRH
{
@@ -11,9 +13,19 @@ namespace ProftaakRH
static void Main(string[] args)
{
IDataConverter dataConverter = new DataConverter();
BLEReciever bLEReceiver = new BLEReciever(dataConverter);
BLEHandler bLEHandler = new BLEHandler(dataConverter);
bLEHandler.Connect();
while (!bLEHandler.Running)
{
Thread.Yield();
}
Console.WriteLine("odlodlJNgeojhtosj\n/nng;sjonghjsngl;zdf\nnhgLLBJHS\nEOGHSFJBNSLDFJSLDFJGHOAIJo;r\njnAJFVBHHBRG");
bLEHandler.setResistance(50);
bLEReceiver.Connect();
Console.ReadLine();
}