316 Commits

Author SHA1 Message Date
Gordon Williams
cb56dbce34 update to latest apps 2022-08-11 14:02:44 +01:00
Gordon Williams
0d323d82fe
Merge pull request #2254 from qucchia/typescript
Typescript
2022-07-28 08:37:50 +01:00
qucchia
12148963bc TypeScript: Buttons 1 - 5 2022-07-27 17:37:41 +02:00
Gordon Williams
18c56cfc57 oops - fix merge error 2022-07-27 16:02:09 +01:00
Gordon Williams
30b18ee2b6 Merge branch 'bangle2_lcd_overlay' 2022-07-27 16:00:06 +01:00
Gordon Williams
d6d37dfb2e Bangle.js2: Added Bangle.setLCDOverlay(img,x,y) to allow an image to be overlaid on top of screen contents (eg for notifications) 2022-07-27 15:58:22 +01:00
Gordon Williams
6e73a8ed03 First try, using Graphics instance (should move to image) 2022-07-27 14:54:51 +01:00
qucchia
c5bb94bf7a Limit documentation comments to 80 characters (#2244) 2022-07-27 15:32:19 +02:00
Gordon Williams
aa58f0ed3c
Merge pull request #2250 from qucchia/typos
Typos
2022-07-27 13:42:50 +01:00
qucchia
ba30e2f018 Typos 2022-07-27 13:31:13 +02:00
qucchia
83f1c338ed TypeScript: Graphics 2022-07-27 12:51:48 +02:00
qucchia
7435ff4a63 TypeScript: Bangle 2022-07-27 10:54:28 +02:00
qucchia
ae9d4e2923 TypeScript: declare globals ‘g’ and ‘WIDGETS’ 2022-07-23 20:22:54 +02:00
qucchia
6b45a91fd1 Declare some custom TypeScript types 2022-07-23 20:16:15 +02:00
qucchia
1cb82b2280 Explicitly explain some optional parameters 2022-07-21 12:49:45 +02:00
Gordon Williams
285a367a85 Bangle.js 2: Make Bangle.setBarometerPower retry twice if it has an I2C error 2022-07-15 08:46:58 +01:00
Gordon Williams
b84fd88ab3 Bangle.js: Include the 'sched' library in installed apps (needed for alarm) (fix #2229) 2022-07-01 08:12:32 +01:00
Gordon Williams
e9698cc7fa doc tweak - for https://github.com/espruino/BangleApps/issues/1958 2022-06-14 19:20:15 +01:00
Gordon Williams
d583645061 docs - for https://github.com/espruino/BangleApps/issues/1958 2022-06-14 19:18:02 +01:00
Gordon Williams
af8e933289 2v14 release 2022-06-09 15:43:50 +01:00
Gordon Williams
728fe64c50 Bangle.js: Allow E.showMenu to be given an array and title option (fix #2175) 2022-06-08 14:18:23 +01:00
Gordon Williams
42cd8f61e9 Add seaLevelPressure to Bangle.setOptions (fix #2213) 2022-06-06 15:39:38 +01:00
storm64
1fee1b2045 [Bangle.setUI] Change to clock property
Feature added to Bangle.setUI reference.
@gfwilliams please update the .min.js-files,
2022-05-24 07:39:06 +02:00
Gordon Williams
2cd16032c3 Bangle.js2: E.showMenu now returns 'scroller', format is called with a second argument, font in popup is scaled to fit (fix #2190) 2022-05-06 08:52:47 +01:00
Gordon Williams
0480d93a89 fix build regressions 2022-05-05 13:45:54 +01:00
Gordon Williams
478b28d080 nRF5x: Allow 'high speed' watches via 'hispeed' argument to setWatch. Higher power consumption but detects fast (<25us) pulses. 2022-05-05 12:01:19 +01:00
Gordon Williams
f772bd5106 Graphics: g.setClipRect now uses rotated coordinates
Graphics: g.draw/fillCircle now works with rotated coordinates
            Bangle.js2: Touch/drag coordinates now obey g.setRotation
2022-05-03 13:14:25 +01:00
Gordon Williams
aa6009b0d1 Bangle.js2: Allow variable HRM poll rates on Bangle.js 2 VC31B variant
Bangle.js2: VC31 HRM variant now polls at 25hz (not 50)
2022-04-22 11:35:33 +01:00
Gordon Williams
b01e9d814a fix build after https://github.com/espruino/Espruino/pull/2180 2022-04-19 15:09:44 +01:00
Gordon Williams
ffaeeb33d0 Merge branch 'master' of github.com:espruino/Espruino 2022-04-19 15:04:41 +01:00
BartS23
1ace43eb16 Parameter 2 specified. 2022-04-10 11:44:08 +02:00
BartS23
f5c875364a Add missing "code"-close 2022-04-10 11:34:43 +02:00
BartS23
7b038d6ba0 document up/down swipe 2022-04-10 11:24:47 +02:00
Gordon Williams
91d9f73939 new default firmware 2022-04-06 15:55:50 +01:00
Gordon Williams
ffeb90de6f touch docs for http://forum.espruino.com/conversations/374038 2022-03-21 11:35:25 +00:00
Gordon Williams
d1f2ed061f Bangle.js: If home button held and JS is still executing, force a break (like Ctrl-C) 2022-03-10 09:51:50 +00:00
Gordon Williams
5942073e9f Bangle.js2: Battery discharge curve is now scaled better, and setting.json:batFullVoltage can be used to account for differences in sense voltage between devices 2022-03-08 10:04:52 +00:00
Gordon Williams
8861b27954 Util Timer now runs independently of system time. More accurate on nRF52 (fix #2125)
Also remove (mostly) duplicated jshPinPulse
2022-03-03 16:43:00 +00:00
Gordon Williams
ba7ec5b918 WIP - first stab at fixing nRF52 timer accuracy issue - more reliable now but pulse trains still can be off, and PWM broken 2022-03-02 17:04:46 +00:00
Gordon Williams
95ea8838ff Bangle.js1: Add 'back' option to E.showScroller and Bangle.setUI
Bangle.js1: setUI button handlers now work on falling edge
            Bangle.js: Add setUI custom 'swipe' handler
2022-03-02 15:41:41 +00:00
Gordon Williams
f148c73731 Bangle.js1: Fix regression that caused setLCDMode not to work in 2v12 (fix #2155) 2022-02-25 12:06:11 +00:00
Gordon Williams
f7c9af747e Bangle.js2: 'touch' event coordinates are now clipped to screen coordinates (drag stay unclipped to allow touchscreen use for scrolling) 2022-02-25 08:43:56 +00:00
Gordon Williams
7610732d7c Bangle.js2: Ensure that if Bangle.getPressure errors, the next call doesn't say 'Conversion in progress' 2022-02-23 08:51:50 +00:00
Gordon Williams
6206534fae Bangle.js2: Add 'back' option to E.showScroller and Bangle.setUI 2022-02-22 14:23:12 +00:00
Gordon Williams
78ee733bc9 Add E.showMenu({"":{back:function}, ...}) for easy specification of 'back' menu item 2022-02-22 13:37:43 +00:00
Gordon Williams
2ec19bccfb Ensure showscroller on Bangle.js 1 honours options.scroll (#2156) 2022-02-21 16:42:54 +00:00
Gordon Williams
3064ca5653 fix accidental commit 2022-02-11 11:00:31 +00:00
Gordon Williams
eaaf2814ec Add Bangle.midnight event that can be used for housekeeping tasks 2022-02-11 10:05:09 +00:00
Gordon Williams
ff25ff80df Bangle.setUI is now minified, also calls Bangle.uiRemove if it was set (to clean up custom UI additions)
E.showScroller tweaks to allow redraw requests, get/set initial scroll amount, negative scroll (for titles)
2022-02-09 14:12:47 +00:00
Gordon Williams
4f20f88d9e fix boot screen font 2022-02-04 10:23:52 +00:00