MetaWear C++ API  0.20.0
C++ implementation of the MetaWear protocol
switch.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include "sensor_common.h"
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
22 
23 #ifdef __cplusplus
24 }
25 #endif
struct MblMwDataSignal MblMwDataSignal
A event fired from the MetaWear board that also contains data.
Definition: datasignal_fwd.h:15
#define METAWEAR_API
Indicates the function should be exported to the symbol table
Definition: dllmarker.h:27
struct MblMwMetaWearBoard MblMwMetaWearBoard
Software representation of a physical MetaWear board.
Definition: metawearboard_fwd.h:17
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 pushe...