Skip to main content

GHIElectronics.TinyCLR.Devices.Signals

NuGet package containing 8 types.

Classes

ClassNamespaceSummary
DigitalSignalGHIElectronics.TinyCLR.Devices.SignalsDMA/timer-backed pulse-train I/O on a small set of pins. Capable of pulse counting (ReadPulse), high-resolution edge capture (Capture), and emitting pulse-width-modulated sequences (Generate). All three operations are mutually exclusive and run asynchronously — completion is reported via OnReadPulseFinished / OnCaptureFinished / OnGenerateFinished. Only specific pins are supported (currently 0, 1, and 19).
PulseFeedbackGHIElectronics.TinyCLR.Devices.SignalsGenerates a digital pulse on one pin and measures a pulse-related duration on the same pin or a separate echo pin. Common applications: ultrasonic distance sensors (HC-SR04), 1-wire interrogation, capacitive touch.
SignalCaptureGHIElectronics.TinyCLR.Devices.SignalsSamples a digital input and records the durations between successive edges — the inverse of SignalGenerator. Useful for capturing IR-remote codes, decoding bit-banged protocols, or measuring pulse widths.
SignalGeneratorGHIElectronics.TinyCLR.Devices.SignalsDrives a pin through a precise sequence of high/low transitions. Suitable for generating IR-remote waveforms, addressable-LED streams (WS281x), and other strict-timing protocols. Optional carrier-frequency modulation is available for IR.

Enums

EnumNamespaceSummary
PulseFeedbackModeGHIElectronics.TinyCLR.Devices.SignalsHow a PulseFeedback session is driven.

Delegates

DelegateNamespaceSummary
PulseCaptureEventHandlerGHIElectronics.TinyCLR.Devices.SignalsHandler for OnCaptureFinished.
PulseGenerateEventHandlerGHIElectronics.TinyCLR.Devices.SignalsHandler for OnGenerateFinished.
PulseReadEventHandlerGHIElectronics.TinyCLR.Devices.SignalsHandler for OnReadPulseFinished.