protected void TestTEA5767() { Console.WriteLine("TestTEA5767..."); for (int i = 0; i < 8; i++) { Thread.Sleep(1000); radio.SearchNextSilent(); Console.WriteLine($"Current frequency: {radio.GetFrequency()}"); } radio.SelectFrequency(94.5f); }
private void Button_Changed(object sender, DigitalInputPortEventArgs e) { Console.WriteLine("Button pressed"); radio.SearchNextSilent(); UpdateDisplay(); }