using System.Threading; class Program { public void BrainPadSetup() { } public void BrainPadLoop() { double tempC = BrainPad.TemperatureSensor.ReadTemperature(); BrainPad.Display.DrawText(0, 10, "Temperature : " + tempC.ToString("F2"), BrainPad.Color.White); Thread.Sleep(200); } }