Disable Wifi status LED

rupak426
Posts: 23
Joined: Fri Apr 15, 2016 2:16 am

Disable Wifi status LED

Postby rupak426 » Thu Jun 09, 2016 3:16 am

Hi,

I want to disable Wi-Fi status LED (red LED) & blinking Blue LED from ESP-8266-01 to save power consumption. I found function "wifi_status_led_uninstall" in the SDK docs, which says that, it uninstalls Wi-Fi status LED. But not sure how to use it.
can you guys help me here?

thanks,
Rupak

ESP_Greg

Re: Disable Wifi status LED

Postby ESP_Greg » Wed Jun 29, 2016 5:02 pm

You just call void wifi_status_led_uninstall(), it should work

rupak426
Posts: 23
Joined: Fri Apr 15, 2016 2:16 am

Re: Disable Wifi status LED

Postby rupak426 » Sat Jul 02, 2016 3:39 pm

Hi,

My question is related to RED LED on the esp-8266-01, which as per me is showing the status of power.

wifi_status_led_uninstall() will disable gpio port not the red led.

Thanks

ESP_Greg

Re: Disable Wifi status LED

Postby ESP_Greg » Tue Jul 05, 2016 3:17 pm

Yes, I'm not familiar with the LED installed for ESP-01. I think you can use PWM to register a signal LED. It will be easy to control.

csabitec
Posts: 2
Joined: Thu Apr 13, 2017 8:07 pm

Re: Disable Wifi status LED

Postby csabitec » Thu Apr 13, 2017 8:24 pm

Hi,

I'm working on a project where I need to use the GPIO2 (WiFi Status Led) for another purpose (Chip Select line; all other pins are used).
How can I disable the Wifi Status Led function.
Right now both (my sketch in Arduino and ESP WiFi functions) try to use this pin and of course my device on this Chip Select line doesn't respond at all, however everything works fine without WiFi functions.

I tried to call this in setup: " wifi_status_led_uninstall(); " after including "#include <user_interface.h>"
but it gives me an error message: " undefined reference to `wifi_status_led_uninstall()' "

Thank you for your help!

csabitec
Posts: 2
Joined: Thu Apr 13, 2017 8:07 pm

Re: Disable Wifi status LED

Postby csabitec » Sun Apr 23, 2017 3:47 pm

Solved!
The problem was in a custom library, which used GPIO2 for Wifi status.
Thanks.

alexsunmiu
Posts: 41
Joined: Tue May 05, 2015 4:48 pm
Contact:

Re: Disable Wifi status LED

Postby alexsunmiu » Wed May 06, 2020 5:08 pm

how to use this code

Code: Select all

wifi_status_led_uninstall
in ESP8266_RTOS_SDK 3.x ?
another ESP8266 cloud service. https://espush.cn/

Her Mary
Posts: 453
Joined: Mon Oct 27, 2014 11:09 am

Re: Disable Wifi status LED

Postby Her Mary » Wed Jun 17, 2020 5:20 pm

You may need to control a GPIO by yourself.

Who is online

Users browsing this forum: No registered users and 1 guest