changed while true

This commit is contained in:
Sem van der Hoeven
2020-09-11 12:41:29 +02:00
parent 4ab46d94db
commit 40f70a42d4

View File

@@ -23,13 +23,15 @@ namespace ProftaakRH
}
bLEHandler.setResistance(25);
while (true)
bool running = true;
while (running)
{
string input = Console.ReadLine();
input.ToLower();
input.Trim();
if(input == "quit")
{
running = false;
break;
}
try