Esempio n. 1
0
        static void OnAccelerationDataAcquired(object sender, AccelerometerDataEventArgs e)
        {
            var args = new AccelerationChangedEventArgs(MyoDevice.AccelerationChangedEvent, sender, e.Myo, e.TimeStamp, e.Accelerometer);

            RaiseEvent(MyoDevice.AccelerationChangedEvent, args);
        }
Esempio n. 2
0
		static void OnAccelerationDataAcquired(object sender, AccelerometerDataEventArgs e)
		{
			var args = new AccelerationChangedEventArgs(MyoDevice.AccelerationChangedEvent, sender, e.Myo, e.TimeStamp, e.Accelerometer);
			RaiseEvent(MyoDevice.AccelerationChangedEvent, args);
		}