335 Commits

Author SHA1 Message Date
Martin Boonk
dd6c290462 Fix JSON 2022-11-10 20:50:26 +01:00
Martin Boonk
ce3c05466a Adds documentation for E.show* remove methods 2022-11-10 20:45:11 +01:00
Gordon Williams
86b3ea1c45 new default firmware 2022-11-09 11:26:22 +00:00
thyttan
3d4fdfbaef
Update jswrap_bangle.c 2022-11-09 11:58:36 +01:00
thyttan
05371e0a7e
Clarify re back in setUI
Just  a suggestion
2022-11-09 11:52:15 +01:00
Gordon Williams
8524ac0071 remove debug numbers 2022-11-07 09:40:22 +00:00
Gordon Williams
6b2cfe669b linux build for Bangle.js2 (good for testing 3 bit graphics lib) 2022-11-05 10:50:13 +00:00
Gordon Williams
e2453c0bf1 tweaked storage type of factory flash image to remove compile warnings 2022-11-05 10:14:01 +00:00
Gordon Williams
211d57306f Bangle.js: Remove F_BEEPSET feature flag (now 3 years old) 2022-11-01 09:30:16 +00:00
Gordon Williams
3566505b67 Bangle.js: Compass 'heading' now provides correct value (without 360-heading) required 2022-11-01 09:29:36 +00:00
Martin Boonk
35def9f931 Check widgets for width > 0 before including in appRect 2022-10-28 22:39:21 +02:00
Gordon Williams
3bab5c60a8 updated default apps 2022-10-28 14:55:28 +01:00
Gordon Williams
5345b5f71f Bangle.js2: Swipe direction is now modified based on g.setRotation
https://github.com/espruino/BangleApps/issues/1040#issuecomment-1285869844
2022-10-21 13:29:16 +01:00
Gordon Williams
94170863ae Store touch coordinates in signed values - fix https://github.com/espruino/BangleApps/issues/2181 2022-10-20 10:24:03 +01:00
Gordon Williams
d4a1cf9f90 Bangle.js2: Add built-in touchscreen calibration 2022-10-19 13:38:51 +01:00
Gordon Williams
73ca4597bb Bangle.js: Add Bangle.setOptions({btnLoadTimeout:...}) to allow home button timeout to be configurable
Bangle.js: A forced interrupt after button held now occurs 0.5s (not 0.1s) after the reboot request
            Bangle.js: Holding the button during storage compact now won't try and break out of it
2022-10-13 15:01:09 +01:00
Gordon Williams
3005974010 Allow atob to accept base64 with whitespace inside it 2022-09-28 09:55:03 +01:00
Gordon Williams
ed32a35e7b Bangle.js2: Fixed Bangle.setLCDOverlay(img,x,y) with negative offsets 2022-09-28 09:39:57 +01:00
Gordon Williams
0e4dcbd3f3 Add support for Bangle.setUI({remove:...}) to allow apps to be unloaded without a full reboot. 2022-09-23 11:52:54 +01:00
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