C# 클래스 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!
상속: SenseHatDemo
파일 보기 프로젝트 열기: emmellsoft/RPi.SenseHat

공개 메소드들

메소드 설명
Compass ( ISenseHat senseHat, Action setScreenText ) : System
Run ( ) : void

비공개 메소드들

메소드 설명
GetPixelCoordinate ( double angle ) : Point

메소드 상세

Compass() 공개 메소드

public Compass ( ISenseHat senseHat, Action setScreenText ) : System
senseHat ISenseHat
setScreenText Action
리턴 System

Run() 공개 메소드

public Run ( ) : void
리턴 void