Skip to content

Commit 11c5f92

Browse files
authored
feat: add welcome message with version logging (#39)
1 parent 741dde4 commit 11c5f92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bitcoinSwitch/bitcoinSwitch.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// form in the web-installer https://lnbits.github.io/bitcoinswitch/installer/ //
44
///////////////////////////////////////////////////////////////////////////////////
55

6+
String version = "0.1.1";
7+
68
String ssid = "null"; // 'String ssid = "ssid";' / 'String ssid = "null";'
79
String wifiPassword = "null"; // 'String wifiPassword = "password";' / 'String wifiPassword = "null";'
810

@@ -58,6 +60,7 @@ struct KeyValue {
5860
void setup()
5961
{
6062
Serial.begin(115200);
63+
Serial.println("Welcome to BitcoinSwitch, running on version: " + version);
6164
bool triggerConfig = false;
6265
pinMode (2, OUTPUT); // To blink on board LED
6366
FlashFS.begin(FORMAT_ON_FAIL);

0 commit comments

Comments
 (0)