From f80cbf4d752af6d3245bd1ad58dc3653542b3755 Mon Sep 17 00:00:00 2001 From: Tony Robinson Date: Tue, 5 Sep 2023 16:24:28 +0100 Subject: [PATCH] Adding a Resistor Colour code watch face. Signed-off-by: Tony Robinson --- README.rst | 4 ++ docs/apps.rst | 2 + res/screenshots/ResistorClockApp.png | Bin 0 -> 5102 bytes watch_faces/resistor_clock.py | 86 +++++++++++++++++++++++++++ 4 files changed, 92 insertions(+) create mode 100644 res/screenshots/ResistorClockApp.png create mode 100644 watch_faces/resistor_clock.py diff --git a/README.rst b/README.rst index ac2fde7..00c836b 100644 --- a/README.rst +++ b/README.rst @@ -173,6 +173,10 @@ Watch faces: :alt: Shows a time as words in the wasp-os simulator :width: 179 +.. image:: res/screenshots/ResistorClockApp.png + :alt: Resistor colour code clock application running in the wasp-os simulator + :width: 179 + Games: .. image:: res/screenshots/Play2048App.png diff --git a/docs/apps.rst b/docs/apps.rst index d2a8302..d1b6bed 100644 --- a/docs/apps.rst +++ b/docs/apps.rst @@ -23,6 +23,8 @@ Watch faces .. automodule:: word_clock +.. automodule:: resistor_clock + Built-in -------- diff --git a/res/screenshots/ResistorClockApp.png b/res/screenshots/ResistorClockApp.png new file mode 100644 index 0000000000000000000000000000000000000000..59d75b3a4e42453fa9473ddcfbe03cc2d6d432ea GIT binary patch literal 5102 zcmcJTXH=6*x5uBLAW{{Pq6ik6N(crd^r%RaBBFE%E%Yia^l~`BQBaydkftIa(nV?r zEkcMiAqqsgh*T302%X%=_v?E<+~v9_Yb9&eWS(dC?7e5t|2K~e4YWAf&aeRhz^S8s z+Xw(4PT)6#l?m+mFx+AW0HM;_T={9Nf>DN|HbbmeVDOogqlP-@um zr`yUM<#MCr1Gjn8Q1pLLRZ724U zNIEo4+RDoQk8JP$d?aJJvX#EM8C?HrX=!O_$cWZ;j7?5SNl8IrVQ{+0RbEa`<#2m8 z8{r*6ZJa-I_N=N!%FI2uQOW0$`^DfeX`7an-Dz32ctX4Fr~Cj&uy!%|)TvX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