chore: Adjust portfolio and enhance WiFi error feedback
This commit is contained in:
1 parent
52162da3e8
commit
f73d4821b8
1 file changed
+5
-1
@@ -33,7 +33,6 @@ Stock myPortfolio[] = {
|
||||
{ "SPYI", 6.0000f, 313.15f, false },
|
||||
{ "JEPQ", 3.0000f, 178.52f, false },
|
||||
{ "SCHD", 3.0000f, 95.97f, false },
|
||||
{"VOO", 1.0000f, 684.60f, true },
|
||||
};
|
||||
// To add an entry: { "SYMBOL", shares, costBasis, useAV }
|
||||
// useAV = false -> Finnhub (stocks & ETFs)
|
||||
@@ -316,6 +315,11 @@ void setup() {
|
||||
M5.Display.print("WiFi connection failed.");
|
||||
M5.Display.setCursor(20, 55);
|
||||
M5.Display.printf("SSID: %s", ssid);
|
||||
M5.Display.setCursor(20, 90);
|
||||
M5.Display.print("Battery:");
|
||||
drawBattery(150, 93, batPct);
|
||||
M5.Display.setCursor(205, 90);
|
||||
M5.Display.printf("%d%%", batPct);
|
||||
delay(2000);
|
||||
M5.Power.powerOff();
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user