Also, I've just made a pex (executable) file from the sample script I've sent earlier, it's attached, if you want to try it out.
The pex is just a glorified zip file, so you can open it and check out inside, but you can execute with: ./send_time.pex 'aa:bb:cc:dd:ee:ff'
The usage:
usage: send_time.py [-h] [--correction CORRECTION] address
Bangle send time
positional arguments:
address bluetooth address to connect
optional arguments:
-h, --help show this help message and exit
--correction CORRECTION
milliseconds to add to time to compensate for connection time
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Also, I've just made a pex (executable) file from the sample script I've sent earlier, it's attached, if you want to try it out.
The pex is just a glorified zip file, so you can open it and check out inside, but you can execute with:
./send_time.pex 'aa:bb:cc:dd:ee:ff'
The usage:
1 Attachment