28 Gyroskop

Ein Gyroskop misst die Drehbewegung des Gerätes entlang der drei Achsen. Die Bewegung wird nicht in Grad gemessen, sondern im Bogenmaß. Eine komplette Drehung entspricht.

01 <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">02   <Grid.RowDefinitions>03     <RowDefinition Height="Auto"/>04     <RowDefinition Height="Auto"/>05     <RowDefinition Height="Auto"/>06   </Grid.RowDefinitions>07   <Grid.ColumnDefinitions>08     <ColumnDefinition Width="Auto"/>09     <ColumnDefinition Width="*"/>10     <ColumnDefinition Width="*"/>11   </Grid.ColumnDefinitions>1213   <TextBlock Text="X: "                Style="{StaticResource PhoneTextLargeStyle}" />14   <TextBlock Name="X" Text="n/a" Grid.Column="1"                Style="{StaticResource PhoneTextLargeStyle}" /> ...

Get Windows Phone 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.