C# Class RPi.SenseHat.Demo.Demos.Compass

Note! You must calibrate the magnetic sensor by moving the Raspberry Pi device around in an 'eight' figure a few seconds at startup!
Inheritance: SenseHatDemo
Afficher le fichier Open project: emmellsoft/RPi.SenseHat

Méthodes publiques

Méthode Description
Compass ( ISenseHat senseHat, Action setScreenText ) : System
Run ( ) : void

Private Methods

Méthode Description
GetPixelCoordinate ( double angle ) : Point

Method Details

Compass() public méthode

public Compass ( ISenseHat senseHat, Action setScreenText ) : System
senseHat ISenseHat
setScreenText Action
Résultat System

Run() public méthode

public Run ( ) : void
Résultat void