Skip to content

Instantly share code, notes, and snippets.

@goofmint

goofmint/index.js

Created Oct 10, 2017
Embed
What would you like to do?
.then(value => {
let batteryLevel = value.getUint8(0);
console.log(`> バッテリーレベルは${batteryLevel}%です`);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment