Info related to the Bangle.js watches
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 squareroot = x=>Math.sqrt(x); | |
var c = E.compiledC(` | |
// void onHRM(int,int,int,JsVar) | |
// void onInit(void) | |
// void setCutOffUp(int) | |
// void setCutOffLow(int) | |
// void setThreshold(int) | |
float doubleToFloat(double value); | |
double floatToDouble(float value); |
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
rmdir '/opt/exagear/lic' | |
rm '/opt/exagear/bin/actool' | |
# non legacy versions | |
printf '\x00\xf0\x20\xe3\x01\x00\xa0\xe3' | dd of='/opt/exagear/bin/ubt_x32a32_al_mem2g' bs=1 seek=866740 count=8 conv=notrunc 2> /dev/null | |
printf '\x00\xf0\x20\xe3\x01\x00\xa0\xe3' | dd of='/opt/exagear/bin/ubt_x32a32_al_mem3g' bs=1 seek=996256 count=8 conv=notrunc 2> /dev/null | |
# legacy version (pi0 armv6) | |
printf '\x01\x00\xa0\xe3\x01\x00\xa0\xe3' | dd of='/opt/exagear/bin/ubt_x32a32_al' bs=1 seek=1071816 count=8 conv=notrunc 2> /dev/null |
How to use docker
Gist with useful information about using a raspberry pi 4