7104 Commits

Author SHA1 Message Date
Gordon Williams
49bcdfb46e Remove buzz in Bangle.js setUI (fix https://github.com/espruino/BangleApps/issues/750) 2021-06-08 09:39:54 +01:00
Gordon Williams
ce0b99580f ensure Q3 doesn't sleep if touchscreen being used 2021-06-01 10:51:31 +01:00
Gordon Williams
e33f2479d8 Bangle.js: if we restart with home button held down, ignore the 'button up' event 2021-06-01 09:55:43 +01:00
Gordon Williams
7c5db1d251 Firmware tweaks - now down to 100uA normal mode, 50uA soft off 2021-05-28 19:54:59 +01:00
Gordon Williams
6e7cae245a Fix Bangle.off/.softOff regression (device wouldn't wake) (fix #2011) 2021-05-28 19:45:04 +01:00
Gordon Williams
76926f1ed0 fix getLogo memory usage regression 2021-05-28 14:29:30 +01:00
Gordon Williams
88bcbe76f9 Add 16->3 bit image rendering support 2021-05-28 14:10:31 +01:00
Gordon Williams
c0733cd0e5 Support for setColor with 3 bit color 2021-05-28 13:35:03 +01:00
Gordon Williams
5d12f06d83 Fix recent timer regression - single timers now work fine (we don't need a repeated timer running to keep things working) 2021-05-28 13:34:41 +01:00
Gordon Williams
5ee483ada5 Fix ESP32 bluetooth compile 2021-05-28 13:34:08 +01:00
Gordon Williams
872e1ef662 Fix blank screen regression if device is reset with the screen off 2021-05-28 11:39:10 +01:00
Gordon Williams
77da07b488 Move HRMi to HRM-raw event (to match GPS-raw) and document it
Stop storing power status arrays for devices that are no longer in use
2021-05-28 11:38:35 +01:00
Gordon Williams
952d178950 Fix for jsvTrace regression - now actually providing useful info 2021-05-28 11:08:19 +01:00
Gordon Williams
faab0ce4c5 Fix regression where leaving an app that used double buffering would mess up the screen 2021-05-28 10:37:37 +01:00
Gordon Williams
9cbadbe933 bump available vars slightly 2021-05-28 10:35:35 +01:00
Gordon Williams
e9de9f59b3 add jsvCreateConfigObject for debug/easy getting of data 2021-05-27 15:33:17 +01:00
Gordon Williams
b0249aa436 Graphics: Allow 'scroll' method to only scroll inside clipRect 2021-05-27 13:26:35 +01:00
Gordon Williams
7e4d10cda2 Add sortorder to allow init/etc functions to run in the correct order 2021-05-27 13:22:37 +01:00
Gordon Williams
e6e40bd0f2 Add dx/dy for touchscreen handling 2021-05-27 11:59:03 +01:00
Gordon Williams
e2823133e5 build regression fixes 2021-05-27 11:57:02 +01:00
Gordon Williams
b57db4d7a7 Update showMenu with rendering optimisations 2021-05-27 11:38:35 +01:00
Gordon Williams
04ded4bbf1 Util timer: account for 'drift' in timer when adding new tasks if running it continuously 2021-05-27 11:37:25 +01:00
Gordon Williams
6571399db4 Squash warnings, and fix jswrap_espruino_decodeUTF8 when calling a function for lookup 2021-05-27 09:56:14 +01:00
Gordon Williams
25499f4a34 Clear ANCS message text between events, and don't include event info for 'remove' events 2021-05-27 09:56:04 +01:00
Gordon Williams
508bee8141 Add E.decodeUTF8 to allow UTF8 to be decoded into standard 8 bit characters 2021-05-27 09:55:04 +01:00
Gordon Williams
90eb7b05ff fix multiple touch handler issue 2021-05-27 08:50:39 +01:00
Gordon Williams
28fa59fb8a Ensure memory LCD turns off, toggle EXTCOMIN as per spec (120Hz when backlight on) 2021-05-27 08:50:25 +01:00
Gordon Williams
d41a7af184 Fix issue with backlight getting left off after reset when backlight is already turned off 2021-05-26 20:43:49 +01:00
Gordon Williams
109d2d4a1d Improve drawmenu to avoid a complete redraw when just moving up/down or changing a setting 2021-05-26 20:24:14 +01:00
Gordon Williams
221792142d Bangle.js: Switch beep/buzz to IRQs (keeps time correct even when JS is busy) 2021-05-26 20:22:05 +01:00
Gordon Williams
633d3e19b8 Update showPrompt to use setUI 2021-05-26 19:37:31 +01:00
Gordon Williams
54f7217e46 Remove save() for Bangle.js 2021-05-26 17:07:48 +01:00
Gordon Williams
b9df56023d Add Bangle.setUI and use for showMenu 2021-05-26 17:07:35 +01:00
Gordon Williams
01d689b64e fix typo in new theme code 2021-05-26 16:37:22 +01:00
Gordon Williams
c886fa247b wrap widget draw/load in a try..catch 2021-05-26 16:36:26 +01:00
Gordon Williams
72e3dea851 Remove memory LCD 240px mode as it wasn't very satisfactory 2021-05-26 11:31:43 +01:00
Gordon Williams
1a575167bc update changelog to show fix for https://github.com/espruino/BangleApps/issues/499 2021-05-26 11:20:10 +01:00
Gordon Williams
2cf7137471 memory LCD scrolling, theme fixes 2021-05-26 11:14:36 +01:00
Gordon Williams
1f3f580c5f Bangle.js: Add support for global colour themes which affect g.clear/g.reset 2021-05-26 11:02:07 +01:00
Gordon Williams
32545fdd0e Fix recent Bangle.js regression (screen shuts off when loading new app) 2021-05-25 13:44:37 +01:00
Gordon Williams
1d1aadf2e8 syncing branches - pull across some minor changes 2021-05-25 12:04:09 +01:00
Gordon Williams
17eea39deb Making ANCS mode configurable via NRF.setServices({},{ancs:true}) 2021-05-25 11:53:59 +01:00
Gordon Williams
cff03201a0 fix stupid enum mistake that stopped ANCS from working 2021-05-25 11:52:57 +01:00
Gordon Williams
8f1b15ef9e Add ANCS responses, and fix notification uids for 'add' event 2021-05-25 11:50:07 +01:00
Gordon Williams
992e90d8ea Ensure compass doesn't auto-reset between apps. Add resetCompass function to force it 2021-05-25 11:49:39 +01:00
Gordon Williams
de42908034 Switch I2C reads to *not* send a STOP after write 2021-05-24 11:15:49 +01:00
Gordon Williams
c769b8af2c update docs! 2021-05-24 08:29:29 +01:00
Gordon Williams
b95fd1db23 compile fixes/general tweaks after recent merge 2021-05-21 10:47:05 +01:00
Gordon Williams
3cd24ac5ea apply braces around 52832 code as well 2021-05-17 12:50:05 +01:00
Richard Blakesley
28e1307fee Fixed NRF_GPIO_PIN_CNF macro to work safely on port P1 without needing enclosing braces 2021-05-17 12:49:39 +01:00