예제 #1
0
        private async void stop_Click(object sender, RoutedEventArgs e)
        {
            stopButton.IsEnabled = false;
            initialize.IsEnabled = true;
            await acc.DisableNotifications();

            await acc.DisableSensor();

            info.Text = "Press Start";
        }
예제 #2
0
        private async void btnDisableNotifications_Click(object sender, RoutedEventArgs e)
        {
            await acc.DisableNotifications();

            await gyro.DisableNotifications();

            await hum.DisableNotifications();

            await ks.DisableNotifications();

            await mg.DisableNotifications();

            await ps.DisableNotifications();

            await tempSen.DisableNotifications();
        }