Doly C++ SDK v1.00
Loading...
Searching...
No Matches
IrSensor Struct Reference

Simple POD representing the state of an individual IR sensor. More...

#include <EdgeEventListener.h>

Public Attributes

SensorId id
GpioState state

Detailed Description

Simple POD representing the state of an individual IR sensor.

Note
GpioState is defined in GpioPin.h and represents high/low states for a IR sensor.
Examples
EdgeControl/main.cpp.

Member Data Documentation

◆ id

SensorId IrSensor::id

Which sensor this reading came from.

◆ state

GpioState IrSensor::state

Current GPIO state of the sensor.


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