QPIDfirmware  v0.1
Object oriented firmware for autonomous motor drivers with encoder based PID controller and flexible interface
Messages for class Endstop_Digital
Collaboration diagram for Messages for class Endstop_Digital:

Variables

static const int8_t QPID_Endstop_Digital::msgInit = 0x01
 

Detailed Description

A list of message commands understood by digital endstops.

Variable Documentation

◆ msgInit

const int8_t QPID_Endstop_Digital::msgInit = 0x01
static

Init message. Takes three paramters:

  • pin (int8_t): input pin the endstop is attached to
  • useInternalPullup (bool): true for internal pullup
  • activeHigh (bool): true if activated endstop pulls input high init(int8_t(m[messageIdxParam + 0]), bool(m[messageIdxParam + 1]), bool(m[messageIdxParam + 2]));