Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel
ampel-firmware
Commits
774cc349
Commit
774cc349
authored
3 years ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Show connected SSID
parent
69e7efeb
master
develop
experimental/example_for_iotwebconf
senseair_s8
v0.3.0
Pipeline
#5923
passed with stage
in 2 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ampel-firmware/ampel-firmware.ino
+3
-1
ampel-firmware/ampel-firmware.ino
with
3 additions
and
1 deletion
+3
-1
ampel-firmware/ampel-firmware.ino
+
3
-
1
View file @
774cc349
...
...
@@ -163,7 +163,9 @@ void loop() {
void
wifiConnected
()
{
led_effects
::
showKITTWheel
(
color
::
green
);
Serial
.
println
();
Serial
.
print
(
F
(
"WiFi - Connected! IP address: "
));
Serial
.
print
(
F
(
"WiFi - Connected to "
));
Serial
.
print
(
WiFi
.
SSID
());
Serial
.
print
(
F
(
", IP address: "
));
IPAddress
address
=
WiFi
.
localIP
();
snprintf
(
wifi
::
local_ip
,
sizeof
(
wifi
::
local_ip
),
"%d.%d.%d.%d"
,
address
[
0
],
address
[
1
],
address
[
2
],
address
[
3
]);
Serial
.
println
(
wifi
::
local_ip
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets