.. highlight:: javascript 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 MetaWear.mbl_mw_metawearboard_lookup_module(device.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. .. toctree:: :hidden: :maxdepth: 1 accelerometer ambientlightsensor barometer gyro humidity magnetometer temperature