Public Member Functions | Public Attributes | List of all members
kobuki::DigitalOutput Struct Reference

#include <digital_output.hpp>

Public Member Functions

 DigitalOutput ()
 

Public Attributes

bool mask [4]
 
bool values [4]
 

Detailed Description

Convenient class for setting values for digital output pins.

Definition at line 33 of file digital_output.hpp.

Constructor & Destructor Documentation

◆ DigitalOutput()

kobuki::DigitalOutput::DigitalOutput ( )
inline

Definition at line 40 of file digital_output.hpp.

Member Data Documentation

◆ mask

bool kobuki::DigitalOutput::mask[4]

Set indices to true to set a pin, false to ignore.

Definition at line 47 of file digital_output.hpp.

◆ values

bool kobuki::DigitalOutput::values[4]

Digital on or off for pins 0-3 respectively.

Definition at line 46 of file digital_output.hpp.


The documentation for this struct was generated from the following file:


kobuki_driver
Author(s): Daniel Stonier , Younghun Ju , Jorge Santos Simon
autogenerated on Wed Mar 2 2022 00:26:14