示例#1
0
        private void TriggerNotifyGyroscope(ReadOnlySpan <byte> bytes)
        {
            var gyroscope = Parse.Gyroscope(bytes);

            NotifyGyroscope?.Invoke(gyroscope);
        }
示例#2
0
        private void TriggerNotifyTelemetry(ReadOnlySpan <byte> bytes)
        {
            var telemetry = Parse.Telemetry(bytes);

            NotifyTelemetry?.Invoke(telemetry);
        }
示例#3
0
        private void TriggerNotifyAccelerometer(ReadOnlySpan <byte> bytes)
        {
            var accelerometer = Parse.Accelerometer(bytes);

            NotifyAccelerometer?.Invoke(accelerometer);
        }
示例#4
0
        private void TriggerNotifyEeg(Channel channel, ReadOnlySpan <byte> bytes)
        {
            var eeg = Parse.Encefalogram(bytes);

            NotifyEeg?.Invoke(channel, eeg);
        }