public TestRunnable1(LedRgb ledRgb) { _ledRgb = ledRgb; }
private void btnSendColour_Click(object sender, EventArgs e) { var led = new LedRgb(_selectedColour.R, _selectedColour.G, _selectedColour.B); _serialConn.Write(led); }