You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bangle.js2: Add Bangle.setOptions({lcdDoubleRefresh:true}) to pulse EXTCOMIN for LCD twice, avoiding contrast 'toggle' effect when viewing LCD off axis
Copy file name to clipboardexpand all lines: ChangeLog
+1
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
Bangle.js: Locale currency deprecated, 'number' updated to BangleApps version with thousands separator, date now doesn't sometimes have trailing spaces
20
20
Bangle.js: 6x15 font tweaks for ISO8859-1
21
21
Bangle.js2: Fix 'UNFINISHED STRING' error if non-UTF8 char within UTF8 start char range is at end of string
22
+
Bangle.js2: Add Bangle.setOptions({lcdDoubleRefresh:true}) to pulse EXTCOMIN for LCD twice, avoiding contrast 'toggle' effect when viewing LCD off axis
22
23
23
24
2v21 : nRF52: free up 800b more flash by removing vector table padding
24
25
Throw Exception when a Promise tries to resolve with another Promise (#2450)
// pulse EXTCOMIN to avoid burn-in on LCD (second toggle, if JSBF_LCD_DBL_REFRESH is set)
1679
+
if ((bangleFlags&JSBF_LCD_ON) && (bangleFlags&JSBF_LCD_DBL_REFRESH))
1680
+
lcdMemLCD_extcominToggle();
1681
+
#endif
1682
+
1675
1683
}
1676
1684
1677
1685
#ifdefHEARTRATE
@@ -2586,6 +2594,7 @@ for before the clock is reloaded? 1500ms default, or 0 means never.
2586
2594
* `seaLevelPressure` (Bangle.js 2) Normally 1013.25 millibars - this is used for
2587
2595
calculating altitude with the pressure sensor
2588
2596
* `lcdBufferPtr` (Bangle.js 2 2v21+) Return a pointer to the first pixel of the 3 bit graphics buffer used by Bangle.js for the screen (stride = 178 bytes)
2597
+
* `lcdDoubleRefresh` (Bangle.js 2 2v22+) If enabled, pulses EXTCOMIN twice per poll interval (avoids off-axis flicker)
2589
2598
2590
2599
Where accelerations are used they are in internal units, where `8192 = 1g`
0 commit comments