static void Main(string[] args) { Console.WriteLine("Hello World!"); Logger_class myLog = new Logger_class(); ThunderBorg_class myBorg = new ThunderBorg_class(myLog); ThunderBorgSettings_class initialSettings = new ThunderBorgSettings_class(); initialSettings.GetCurrentEnvironment(myBorg, myLog); TestLogger(myLog); myLog.DefaultLogLevel = ILogger.Priority.Information; int intCurrentAddress = ThunderBorg_class.ScanForThunderBorg(log: myLog); byte currentAddress = Convert.ToByte(intCurrentAddress); ThunderBorg_class.SetNewAddress(33, currentAddress, 1, myLog); int newIntCurrentAddress = ThunderBorg_class.ScanForThunderBorg(log: myLog); byte newCurrentAddress = Convert.ToByte(newIntCurrentAddress); ThunderBorg_class.SetNewAddress(currentAddress, newCurrentAddress, 1, myLog); myLog.DefaultLogLevel = ILogger.Priority.Medium; myBorg.SetFailsafe(false, myLog); //TestBorg(myBorg, myLog); //TestLEDs(myBorg, myLog); //myBorg.SetLEDBatteryMonitor(true, myLog); //myBorg.WaveLEDs(myLog); //myBorg.TestSpeeds(myLog); //myBorg.SetLEDBatteryMonitor(false, myLog); myLog.WriteLog("Place Borg in location with 1 meter clearance in front, then press any key."); Console.ReadKey(true); myBorg.TestDistance(0.5M, myLog); initialSettings.SetCurrentEnvironment(myBorg, myLog); }