Files
Proftaak-RH-B4/Client/Program.cs
Sem van der Hoeven b5ea137bad removed 20 second sleep
2020-10-09 12:00:51 +02:00

43 lines
835 B
C#

using System;
using Hardware;
using Hardware.Simulators;
using RH_Engine;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
namespace Client
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("// Connecting... //");
//connect fiets?
Client client = new Client();
while (!client.IsConnected())
{
}
BLEHandler bLEHandler = new BLEHandler(client);
bLEHandler.Connect();
client.setHandler(bLEHandler);
//BikeSimulator bikeSimulator = new BikeSimulator(client);
//bikeSimulator.StartSimulation();
//client.setHandler(bikeSimulator);
//while (true)
//{
//}
}
}
}