4

Is there any API available to access the compass hardware in WP7 (Mango)?

Heinrich Ulbricht
  • 10,064
  • 4
  • 54
  • 85
Sreeraj VR
  • 1,524
  • 19
  • 35

1 Answers1

6

Yes, you can use the Compass class. You can get sample code showing how to read the compass in the Raw Sensor Data Sample or this 'How To'.

Sreeraj VR
  • 1,524
  • 19
  • 35
keyboardP
  • 68,824
  • 13
  • 156
  • 205