Is there a way to detect whether the watch is a v1 or v2 from code?
Background: I plan on tweaking the Numerals clock face, because on the Bangle2 the colors used look weak compared to the Bangle1. So I would like to choose the color palette depending on the watch type.
EDIT: I guess you could use g.getWidth() to see if its either 176 (Bangle2) or 240 (Bangle1) right?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Is there a way to detect whether the watch is a v1 or v2 from code?
Background: I plan on tweaking the Numerals clock face, because on the Bangle2 the colors used look weak compared to the Bangle1. So I would like to choose the color palette depending on the watch type.
EDIT: I guess you could use g.getWidth() to see if its either 176 (Bangle2) or 240 (Bangle1) right?