Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
Meitrack MVT380 battery
node v9.11.2
version:
1.0.0
endpoint
share
tweet
const [ad1, ad2, ad3, ad4, ad5] = '0000|0000|0000|01A0|0558'.split('|') // Built-in battery input voltage = (AD4 x 3 x 2)/1024 const battery = (parseInt(ad4, 16) * 3 * 2) / 1024
Created from: https://npm.runkit.com/
Loading…
no comments
sign in
to comment