This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
mhsw-espurna
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Change LED pattern to make it less intrussive
fastled
Xose Pérez
7 years ago
parent
e4ea3b0f66
commit
9e9ca87e62
1 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
code/espurna/led.ino
+ 2
- 2
code/espurna/led.ino
View File
@ -49,9 +49,9 @@ void ledBlink(unsigned char id, unsigned long delayOff, unsigned long delayOn) {
void
showStatus
(
)
{
void
showStatus
(
)
{
if
(
wifiConnected
(
)
)
{
if
(
wifiConnected
(
)
)
{
if
(
WiFi
.
getMode
(
)
=
=
WIFI_AP
)
{
if
(
WiFi
.
getMode
(
)
=
=
WIFI_AP
)
{
ledBlink
(
0
,
2
000
,
20
00
)
;
ledBlink
(
0
,
2
500
,
25
00
)
;
}
else
{
}
else
{
ledBlink
(
0
,
5000
,
5
00
)
;
ledBlink
(
0
,
4900
,
1
00
)
;
}
}
}
else
{
}
else
{
ledBlink
(
0
,
500
,
500
)
;
ledBlink
(
0
,
500
,
500
)
;
Write
Preview
Loading…
Cancel
Save