Skip to content

File AnalogInput.h

FileList > AnalogInput > AnalogInput.h

Go to the source code of this file

Continuous analog input (potentiometer / axis) for OpenSkyhawk __PanelGroup nodes.More...

  • #include <PanelGroup.h>

Namespaces

Type Name
namespace OpenSkyhawk
Thin wrapper over Adafruit_ADS1115; see ADS1115.h .

Classes

Type Name
struct AnalogConfig
Tuning for an AnalogInput . Every field has a default, so a sketch sets only what differs, by name:{ .hysteresis = 32, .ewmaShift = 4, .pollMs = 2 } (#295).
class AnalogInput
Continuous analog input — one analog PinRef , normalised to a 16-bit value 0..65535. Emits the smoothed value over CAN (MULTIPOS transport). Self-registers intoPanelGroup 'sInputBase list.

Detailed Description

Copyright:

GPL-2.0-only — see Firmware/LICENSE


The documentation for this class was generated from the following file Firmware/Libraries/PanelGroup/Inputs/AnalogInput/AnalogInput.h