Skip to content

File PinRef.cpp

FileList > Firmware > Libraries > PanelGroup > PinRef.cpp

Go to the source code of this file

  • #include "PinRef.h"
  • #include "ADS1115.h"
  • #include <MCP23017.h>

Namespaces

Type Name
namespace PanelGroup
Static singleton for CAN sub-node ( PanelGroup ) firmware.

Public Attributes

Type Name
const PinRef PIN_NC
No-connect sentinel. Pass where no physical pin exists.

Public Attributes Documentation

variable PIN_NC

No-connect sentinel. Pass where no physical pin exists.

const PinRef PIN_NC;

All reads return false / 0; all writes are no-ops. Provided as a named constant for readability in wiring maps.

Usage: PinRef pins[] = { PinRef(exp1, PORT_A, 0) , PIN_NC, PinRef(exp1, PORT_A, 2) };

See also: ANALOG_NC (0xFFFF) for AnalogMultiPos unused voltage levels.



The documentation for this class was generated from the following file Firmware/Libraries/PanelGroup/PinRef.cpp