draws the current weekday as a complication for an analog clock on a Bangle.js 2
This module displays the current weekday as a complication for an analog clock on a Bangle.js 2.
Within a clock implementation, the module may be used as follows:
let Clockwork = require(...);
Clockwork.windUp({
complications: {
l:require('https://raw.githubusercontent.com/rozek/banglejs-2-weekday-complication/main/Complication.js'),
}
...
});
The following code shows a complete example for a (still simple) analog clock using this complication:
let Clockwork = require('https://raw.githubusercontent.com/rozek/banglejs-2-simple-clockwork/main/Clockwork.js');
Clockwork.windUp({
face: require('https://raw.githubusercontent.com/rozek/banglejs-2-twelve-numbered-clock-face/main/ClockFace.js'),
hands:require('https://raw.githubusercontent.com/rozek/banglejs-2-hollow-clock-hands/main/ClockHands.js'),
complications: {
l:require('https://raw.githubusercontent.com/rozek/banglejs-2-weekday-complication/main/Complication.js'),
}
},{
Foreground:'#000000', Background:'#FFFFFF', Seconds:'#FF0000',
withDots:true
});