C# 클래스 Emlid.WindowsIot.Hardware.Boards.Navio.NavioRCInputDevice

Navio Remote Control input hardware device.
Navio provides RC (receiver) input via a connector on it's servo rail mapped to GPIO pin 4. Navio+ has a logic level converter and you can connect receivers which generate both 3.3V and 5V signals. The older Navio model only has a built-in voltage divider in PPM Input that lowers the voltage level from 5V to 3.3V. So if you connect a 3.3V PPM device (which is rare) to the original Navio, no signal will not be detected.
상속: DisposableObject
파일 보기 프로젝트 열기: emlid/Navio-SDK-Windows-IoT 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ChannelsChanged EventHandler

공개 메소드들

메소드 설명
NavioRCInputDevice ( ) : System

Creates and initializes an instance.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Frees resources owned by this instance.

비공개 메소드들

메소드 설명
OnInputPinValueChanged ( Windows.Devices.Gpio.GpioPin sender, Windows.Devices.Gpio.GpioPinValueChangedEventArgs arguments ) : void

Handles GPIO changes (rising and falling PWM signal), recording them to the decoder queue.

Main hardware routine which triggers the input translation process. This code must run as quickly as possible else we could miss the next event!

Receiver ( ) : void

Waits for decoded frames, updates the Channels property and fires the ChannelsChanged event on a separate thread.

메소드 상세

Dispose() 보호된 메소드

Frees resources owned by this instance.
protected Dispose ( bool disposing ) : void
disposing bool /// True when called via , false when called from the finalizer. ///
리턴 void

NavioRCInputDevice() 공개 메소드

Creates and initializes an instance.
public NavioRCInputDevice ( ) : System
리턴 System

프로퍼티 상세

ChannelsChanged 공개적으로 프로퍼티

Fired after a new frame of data has been received and decoded into Channels.
public EventHandler ChannelsChanged
리턴 EventHandler