Generalized-Core-Counter 3.20
Particle-based generalized core counter firmware
Loading...
Searching...
No Matches
SensorDefinitions Namespace Reference

Functions

const SensorDefinitiongetDefinition (SensorType type)
 Lookup helper to get the SensorDefinition for a given SensorType.

Function Documentation

◆ getDefinition()

const SensorDefinition * SensorDefinitions::getDefinition ( SensorType type)
inline

Lookup helper to get the SensorDefinition for a given SensorType.

Returns
Pointer to definition, or nullptr if not found.

Definition at line 39 of file SensorDefinitions.h.

Referenced by setup().