示例#1
0
        private void GreenButton_Click(object sender, EventArgs e)
        {
            Bluetooth bt = new Bluetooth();

            bt.Start("HC-05", "green");
        }
示例#2
0
        private void RedButton_Click(object sender, EventArgs e)
        {
            Bluetooth bt = new Bluetooth();

            bt.Start("HC-05", "red");
        }