Created
December 31, 2023 03:48
-
-
Save jacksonkeating/eeb0de85cc384df999925b287f10564a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var result = await wavecake.ble.connect('', '6E400001-B5A3-F393-E0A9-E50E24DCCA9E'); | |
await wavecake.ble.notifyEnable('','6E400001-B5A3-F393-E0A9-E50E24DCCA9E','6E400003-B5A3-F393-E0A9-E50E24DCCA9E'); | |
await wavecake.ble.writeCharacteristic('','6E400001-B5A3-F393-E0A9-E50E24DCCA9E','6E400002-B5A3-F393-E0A9-E50E24DCCA9E','90,101,110,100'); | |
await wavecake.ble.notifyExpect('','6E400001-B5A3-F393-E0A9-E50E24DCCA9E','6E400003-B5A3-F393-E0A9-E50E24DCCA9E'); | |
await wavecake.ble.disconnect(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment