Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dimasmith/binary-clock
Binary clock watch face for Garmin Fenix 5x
https://github.com/dimasmith/binary-clock
garmin garmin-sdk
Last synced: about 1 month ago
JSON representation
Binary clock watch face for Garmin Fenix 5x
- Host: GitHub
- URL: https://github.com/dimasmith/binary-clock
- Owner: dimasmith
- Created: 2020-06-22T20:26:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-22T20:29:20.000Z (over 4 years ago)
- Last Synced: 2024-10-14T08:39:29.510Z (3 months ago)
- Topics: garmin, garmin-sdk
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-garmin - binary-clock - 06-22) (Watch faces / Older resources)
- awesome-garmin - binary-clock - 06-22) (Watch faces / Older resources)
README
Binary Clock
============Binary clock watch face for Garmin watches.
# Building
## Generating private keys
The `monkeyc` compiler requries a private key for a compilation.
You may generate one using commands:```
openssl genrsa -out developer_key.pem 4096
openssl pkcs8 -topk8 -inform PEM -outform DER -in developer_key.pem -out developer_key.der -nocrypt
```See [here](https://developer.garmin.com/connect-iq/programmers-guide/getting-started#generatingakeyusingopenssl) for details.
## Compiling the project
```
monkeyc -o build/BinaryClock.prg -y developer_key.der -f monkey.jungle -d fenix5x
```## Starting an emulator
```
connectiq
```## Running app in emulator
```
monkeydo build/BinaryClock.prg fenix5x
```# Setting up in VSCode
If you'd rather do coding in VSCode instead of eclipse, you might want to set build tasks:
`.vscode/tasks.json`
```
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Compile",
"type": "shell",
"command": "monkeyc -o build/${workspaceFolderBasename}.prg -y .build/key.der -f monkey.jungle -d fenix5x",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Start Simulator",
"type": "shell",
"command": "connectiq",
"isBackground": true
},
{
"label": "Run",
"type": "shell",
"command": "monkeydo build/${workspaceFolderBasename}.prg fenix5x",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
},
"dependsOn": ["Compile", "Start Simulator"]
}
]
}
```# References
[Garmin SDK](https://developer.garmin.com/connect-iq/programmers-guide/)