SX1278 OOK waveform view with C# chart control - 4

2.2.2020
SX1278 OOK waveform view with C# chart control - 4

Oscilloscope "moving effect" lookalike




        private void timer1_Tick(object sender, EventArgs e)
        {
            if (_run)
            {
                for (int i = _index; i < _xValues.Count; i++)
                {
                    chart1.Series[0].Points.AddY(_xValues[i]);
                    if (chart1.Series[0].Points.Count > 100)
                    {
                        chart1.Series[0].Points.RemoveAt(0);
                    }
                }
                _index = _xValues.Count + 1;
            }
        }

Comments

Popular posts from this blog

Modifying old SDR# TETRA demod plug-in

Mods for SDR# TETRA demod plugin 1.0.14.0 - 2