HomeGPT v.1.0
HomeGPT revolutionizes home automation with advanced features such as facial recognition for secure access, mood-responsive lighting, RFID-enabled garage entry, and clap-activated door closures. This system elevates the living experience by seamlessly blending security, convenience, and ambiance-enhancing technology.
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
spidevpp::Gpio Class Reference

#include <gpio.h>

Public Types

enum class  Direction { INPUT , OUTPUT }
 
enum class  Value { low = 0 , high = 1 }
 

Public Member Functions

 Gpio (unsigned int pin, Direction direction, Value initialValue=Value::low)
 
void setValue (Value)
 
Value getValue ()
 

Member Enumeration Documentation

◆ Direction

enum class spidevpp::Gpio::Direction
strong
Enumerator
INPUT 
OUTPUT 

◆ Value

enum class spidevpp::Gpio::Value
strong
Enumerator
low 
high 

Constructor & Destructor Documentation

◆ Gpio()

spidevpp::Gpio::Gpio ( unsigned int  pin,
Direction  direction,
Value  initialValue = Value::low 
)
Here is the call graph for this function:

Member Function Documentation

◆ getValue()

Gpio::Value spidevpp::Gpio::getValue ( )
Here is the caller graph for this function:

◆ setValue()

void spidevpp::Gpio::setValue ( Value  value)
Here is the caller graph for this function:

The documentation for this class was generated from the following files: