fork
Dependencies: BLE_API mbed-dev-bin nRF51822
MicroBitValueService Class Reference
Class definition for the MicroBit BLE Value Service. More...
#include <MicroBitValueService.h>
Public Member Functions | |
| MicroBitValueService (BLEDevice &_ble, uint16_t *_value) | |
| Constructor. | |
Detailed Description
Class definition for the MicroBit BLE Value Service.
Provides access to live data via BLE, and provides basic configuration options.
Definition at line 46 of file MicroBitValueService.h.
Constructor & Destructor Documentation
| MicroBitValueService | ( | BLEDevice & | _ble, |
| uint16_t * | _value | ||
| ) |
Constructor.
Class definition for the MicroBit BLE Magnetometer Service.
Create a representation of the MagnetometerService.
- Parameters:
-
_ble The instance of a BLE device that we're running on. _value An instance of MicroBitCompass to use as our Magnetometer source.
Provides access to live magnetometer data via BLE, and provides basic configuration options. Constructor. Create a representation of the MagnetometerService.
- Parameters:
-
_ble The instance of a BLE device that we're running on. _compass An instance of MicroBitCompass to use as our Magnetometer source.
Definition at line 41 of file MicroBitValueService.cpp.
Generated on Fri Nov 4 2022 18:32:47 by
1.7.2