SensorsΒΆ

MetaWear comes with plenty of sensors ready to be used with only a few API calls.

All boards have a different combination of sensors or even different sensor models so it is important to check the result of the mbl_mw_metawearboard_lookup_module method if your app is to be used with different board models e.g. the MetaBase app.

if mbl_mw_metawearboard_lookup_module(board, MBL_MW_MODULE_LED) != MBL_MW_MODULE_TYPE_NA {
    // Board has LED
}

In this section we will look at everything from accelerometers to magnetometers.