4fe3c63230 | ||
---|---|---|
.vscode | ||
docs/reference/bluetooth | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
Makefile | ||
README.md | ||
SECURITY.md | ||
TemperatureSensorService.cpp | ||
TemperatureSensorService.h | ||
enums.d.ts | ||
extension.cpp | ||
pxt.json | ||
shims.d.ts | ||
tests.ts | ||
tsconfig.json |
README.md
bluetooth temperature sensor service
A Bluetooth service to expose a temperature reading.
Usage
This package allows to create a Bluetooth temperature sensor and provide the data from any custom sensor attached to the @boardname@. In fact, it can be used to stream any data!
bluetooth.startTemperatureSensorService(() => {
bluetooth.setTemperatureSensorValue(input.lightLevel());
})
Then use the temperature charting from Bitty data logger to visualize it.
Supported targets
- for PXT/microbit (The metadata above is needed for package search.)
bluetooth
bluetooth-temperature-sensor
License
MIT
Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.