MetaWear C++ API  0.20.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 The switch is either pushed (1) or not pushed (0) 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 The switch is either pushed (1) or not pushed (0)

Parameters
boardPointer to the board to retrieve the signal from
Returns
Pointer to the switch data signal UINT32 is return signal data type