Skip to content

Commit 0b3c106

Browse files
Pin platform to specific version. Minor updates to README and design diagram.
1 parent d9e255a commit 0b3c106

File tree

4 files changed

+17
-15
lines changed

4 files changed

+17
-15
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ In order to run this project on your device, you will need to setup an applicati
3939

4040
- **Album Art Display**
4141
- Downloads and displays album artwork via Spotify Web API
42+
- Syncs background color with album art
4243
- Caches artwork locally for performance
4344

4445
- **Multiple UI Modes**
@@ -53,7 +54,7 @@ In order to run this project on your device, you will need to setup an applicati
5354
- **Designed for ESP32 + TFT Touch**
5455
- Built using PlatformIO and Arduino
5556
- Touch event handling for UI buttons and screen navigation
56-
- Takes advantage of ESP32 dual-core architecture: UI logic runs on one core, while background tasks (e.g., album art refresh) run on the other
57+
- Takes advantage of ESP32 dual-core architecture: UI logic runs on one core and background song and album art refreshing runs on the other
5758

5859
- **Extensible Design**
5960
- Modular architecture allows easy addition of new Views (UI screens)
@@ -72,6 +73,7 @@ In order to run this project on your device, you will need to setup an applicati
7273
- Tap the **album art** on the Home view to switch to the **Cover Art view**.
7374
- Tap the **clock** to switch to the **Clock view**.
7475
- Tap the **network status box** in the lower-right corner to open the **Diagnostics view**.
76+
- Tap the top-left corner for **Prev**, the top-center for **Pause/Play**, and the top-right for **Next** when using views other than Home.
7577

7678
> For detailed display logic and diagnostics layout, see `DiagnosticsView.cpp`.
7779

documentation/SCDesign-v2-20250511.drawio renamed to documentation/SCDesign.drawio

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.4 Safari/605.1.15" version="27.0.3">
22
<diagram name="Page-1" id="3Ql3qOf2bo2eGhESWVKz">
3-
<mxGraphModel dx="1508" dy="1082" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
3+
<mxGraphModel dx="1810" dy="1298" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
44
<root>
55
<mxCell id="0" />
66
<mxCell id="1" parent="0" />
@@ -196,12 +196,6 @@
196196
<mxCell id="mG-6huppTFD_hq-MHLt3-50" value="Internet" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;" vertex="1" parent="1">
197197
<mxGeometry x="365" y="1015" width="80" height="60" as="geometry" />
198198
</mxCell>
199-
<mxCell id="mG-6huppTFD_hq-MHLt3-54" value="" style="endArrow=none;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.55;exitY=0.95;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="mG-6huppTFD_hq-MHLt3-53" target="mG-6huppTFD_hq-MHLt3-21">
200-
<mxGeometry width="50" height="50" relative="1" as="geometry">
201-
<mxPoint x="652.5" y="1080" as="sourcePoint" />
202-
<mxPoint x="787.5" y="940" as="targetPoint" />
203-
</mxGeometry>
204-
</mxCell>
205199
<mxCell id="mG-6huppTFD_hq-MHLt3-55" value="" style="endArrow=classic;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="mG-6huppTFD_hq-MHLt3-19" target="mG-6huppTFD_hq-MHLt3-44">
206200
<mxGeometry width="50" height="50" relative="1" as="geometry">
207201
<mxPoint x="720" y="660" as="sourcePoint" />
@@ -253,7 +247,7 @@
253247
</mxGeometry>
254248
</mxCell>
255249
<mxCell id="mG-6huppTFD_hq-MHLt3-53" value="Internet" style="ellipse;shape=cloud;whiteSpace=wrap;html=1;" vertex="1" parent="1">
256-
<mxGeometry x="620" y="1020" width="80" height="60" as="geometry" />
250+
<mxGeometry x="620" y="1015" width="80" height="60" as="geometry" />
257251
</mxCell>
258252
<mxCell id="mG-6huppTFD_hq-MHLt3-71" value="&lt;i&gt;SongRefresh task - pinned to Core 1&lt;/i&gt;" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
259253
<mxGeometry x="670" y="210" width="220" height="30" as="geometry" />
@@ -268,13 +262,19 @@
268262
<mxGeometry x="100" width="20" height="20" as="geometry" />
269263
</mxCell>
270264
<mxCell id="mG-6huppTFD_hq-MHLt3-75" value="" style="group" vertex="1" connectable="0" parent="1">
271-
<mxGeometry x="607.5" y="1090" width="122.5" height="60" as="geometry" />
265+
<mxGeometry x="600" y="1090" width="120" height="60" as="geometry" />
272266
</mxCell>
273267
<mxCell id="mG-6huppTFD_hq-MHLt3-21" value="spotify" style="html=1;whiteSpace=wrap;fillColor=light-dark(#1BA1E2,#0000FF);fontColor=light-dark(#FFFFFF,#FFFFFF);strokeColor=#006EAF;" vertex="1" parent="mG-6huppTFD_hq-MHLt3-75">
274-
<mxGeometry y="10" width="115" height="50" as="geometry" />
268+
<mxGeometry y="9.999999999999998" width="112.65306122448978" height="49.99999999999998" as="geometry" />
275269
</mxCell>
276270
<mxCell id="mG-6huppTFD_hq-MHLt3-73" value="" style="html=1;verticalLabelPosition=bottom;align=center;labelBackgroundColor=#ffffff;verticalAlign=top;strokeWidth=2;strokeColor=#0080F0;shadow=0;dashed=0;shape=mxgraph.ios7.icons.globe;" vertex="1" parent="mG-6huppTFD_hq-MHLt3-75">
277-
<mxGeometry x="102.5" width="20" height="20" as="geometry" />
271+
<mxGeometry x="100.40816326530609" width="19.591836734693867" height="19.999999999999996" as="geometry" />
272+
</mxCell>
273+
<mxCell id="mG-6huppTFD_hq-MHLt3-98" value="" style="endArrow=none;html=1;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="mG-6huppTFD_hq-MHLt3-75">
274+
<mxGeometry width="50" height="50" relative="1" as="geometry">
275+
<mxPoint x="59.75" y="10" as="sourcePoint" />
276+
<mxPoint x="59.75" y="-15" as="targetPoint" />
277+
</mxGeometry>
278278
</mxCell>
279279
<mxCell id="mG-6huppTFD_hq-MHLt3-84" value="Application Flow" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
280280
<mxGeometry x="40" y="640" width="110" height="30" as="geometry" />
@@ -302,8 +302,8 @@
302302
<mxCell id="mG-6huppTFD_hq-MHLt3-92" value="ESP32 Spotify Remote Design - Ver 2.0.0" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
303303
<mxGeometry x="55" y="158" width="250" height="30" as="geometry" />
304304
</mxCell>
305-
<mxCell id="mG-6huppTFD_hq-MHLt3-94" value="Last updated 2025-05-11 by Electric Diversions" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
306-
<mxGeometry x="750" y="1120" width="270" height="30" as="geometry" />
305+
<mxCell id="mG-6huppTFD_hq-MHLt3-94" value="Last updated 2025-05-24 by Electric Diversions" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
306+
<mxGeometry x="745" y="1120" width="280" height="30" as="geometry" />
307307
</mxCell>
308308
</root>
309309
</mxGraphModel>

documentation/SCDesign.jpg

-617 Bytes
Loading

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
; https://docs.platformio.org/page/projectconf.html
1010

1111
[env:thingpulse-color-kit-grande]
12-
platform = espressif32
12+
platform = espressif32@~6.10.0
1313
;board = esp-wrover-kit
1414
board = custom_esp-wrover-kit
1515
framework = arduino

0 commit comments

Comments
 (0)