MetaWear C++ API  0.18.0
C++ implementation of the MetaWear protocol
Functions
switch.h File Reference

Push button switch. More...

#include "sensor_common.h"

Go to the source code of this file.

Functions

METAWEAR_API MblMwDataSignalmbl_mw_switch_get_state_data_signal (const MblMwMetaWearBoard *board)
 Retrieves the data signal representing switch state data. More...
 

Detailed Description

Push button switch.

Function Documentation

◆ mbl_mw_switch_get_state_data_signal()

METAWEAR_API MblMwDataSignal* mbl_mw_switch_get_state_data_signal ( const MblMwMetaWearBoard board)

Retrieves the data signal representing switch state data.

Parameters
boardPointer to the board to retrieve the signal from
Returns
Pointer to the switch data signal