fixing color, help of io pin service
This commit is contained in:
parent
655fa0fde8
commit
fe39eec686
@ -2,13 +2,13 @@
|
|||||||
#include "MESEvents.h"
|
#include "MESEvents.h"
|
||||||
|
|
||||||
using namespace pxt;
|
using namespace pxt;
|
||||||
//% color=156 weight=79
|
//% color=#0082FB weight=2
|
||||||
namespace bluetooth {
|
namespace bluetooth {
|
||||||
/**
|
/**
|
||||||
* Starts the Bluetooth IO pin service
|
* Starts the Bluetooth IO pin service
|
||||||
*/
|
*/
|
||||||
//% help=reference/bluetooth/io-pin-service
|
//% help=bluetooth/io-pin-service
|
||||||
//% blockId=bluetooth-io-pin-service block="start io pin service"
|
//% blockId=bluetooth-io-pin-service block="bluetooth io pin service"
|
||||||
void startIOPinService() {
|
void startIOPinService() {
|
||||||
new MicroBitIOPinService(*uBit.ble, uBit.io);
|
new MicroBitIOPinService(*uBit.ble, uBit.io);
|
||||||
}
|
}
|
||||||
|
6
libs/microbit-bluetooth/shims.d.ts
vendored
6
libs/microbit-bluetooth/shims.d.ts
vendored
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
//% color=156 weight=79
|
//% color=#0082FB weight=2
|
||||||
declare namespace bluetooth {
|
declare namespace bluetooth {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Starts the Bluetooth IO pin service
|
* Starts the Bluetooth IO pin service
|
||||||
*/
|
*/
|
||||||
//% help=reference/bluetooth/io-pin-service
|
//% help=bluetooth/io-pin-service
|
||||||
//% blockId=bluetooth-io-pin-service block="start io pin service" shim=bluetooth::startIOPinService
|
//% blockId=bluetooth-io-pin-service block="bluetooth io pin service" shim=bluetooth::startIOPinService
|
||||||
function startIOPinService(): void;
|
function startIOPinService(): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user