Updated README and added screenshots

master
hughbarney 2021-10-23 22:31:12 +01:00
parent dc3dda8235
commit bce96a0000
6 changed files with 14 additions and 3 deletions

View File

@ -1,5 +1,16 @@
# GPS Touch # GPS Touch
- A touch controlled GPS watch for Bangle JS 2
- Key feature is the conversion of Lat/Lon into Ordinance Servey Grid Reference
- Swipe left and right to change the display
- Select GPS and switch the GPS On or Off by touching twice in the top half of the display
- Select LOGGER and switch the GPS Recorder On or Off by touching twice in the top half of the display
- Displays the GPS time in the bottom half of the screen when the GPS is powered on, otherwise 00:00:00
- Select display of Course, Speed, Altitude, Longitude, Latitude, Ordinance Servey Grid Reference
## Screenshots ## Screenshots
![](screenshot1.png)
![](screenshot2.png)
![](screenshot3.png)
![](screenshot4.png)

View File

@ -1,5 +1,6 @@
const h = g.getHeight(); const h = g.getHeight();
const w = g.getWidth(); const w = g.getWidth();
let geo = require("geotools");
let last_fix; let last_fix;
function resetLastFix() { function resetLastFix() {
@ -99,7 +100,7 @@ const infoData = {
calc: () => formatTime(last_fix.time), calc: () => formatTime(last_fix.time),
}, },
OS_REF: { OS_REF: {
calc: () => 'NZ 208 987', calc: () => last_fix.lat == 0 ? "Searching.." : geo.gpsToOSMapRef(last_fix),
}, },
GPS_POWER: { GPS_POWER: {
calc: () => (Bangle.isGPSOn()) ? 'GPS On' : 'GPS Off', calc: () => (Bangle.isGPSOn()) ? 'GPS On' : 'GPS Off',
@ -204,7 +205,6 @@ Bangle.on('lcdPower', on => {
draw(); draw();
}); });
resetLastFix(); resetLastFix();
// add listenner if already powered on, plus tag app // add listenner if already powered on, plus tag app

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB