-->
Page 1 of 3

Disable WiFi completely

PostPosted: Thu Nov 30, 2017 4:20 am
by sofos1990
I'm new to the community and I know this topic has been discussed many times but I got confused cause I see few different replies/opinions.
I bought one ESP8266 to replace my old Arduino Nano which I use from an Ambilight setup.
The new setup will have more than 300 LEDs so in theory ESP8266 will be faster. Although, I don't need the WiFi function at all. Is there a way to disable it? Is that possible through Arduino IDE?
I'm running the Adalight FastLED sketch. How should I edit the code in order to disable WiFI as much as possible?

Thanks in advance!

Re: Disable WiFi completely

PostPosted: Thu Nov 30, 2017 9:59 pm
by sofos1990
Also, I was trying yesterday to upload this sketch to the ESP through Arduino IDE but I couldn't.
https://github.com/dmadison/Adalight-FastLED

I've installed ESP8266 from Board Manager but still no.
I have the Amica Nodemcu.
I installed a sketch that scans the wifi connections and it works great so I think it's me not adding something to the FastLED sketch.

Re: Disable WiFi completely

PostPosted: Fri Dec 01, 2017 6:36 am
by btidey
Add
Code: Select allWiFi.mode( WIFI_OFF );
WiFi.forceSleepBegin();


into setup()

Re: Disable WiFi completely

PostPosted: Fri Dec 01, 2017 10:43 pm
by sofos1990
btidey wrote:Add
Code: Select allWiFi.mode( WIFI_OFF );
WiFi.forceSleepBegin();


into setup()


Thank you!

Pff, this FastLED sketch drives me crazy. How can I compile it? I always get an SPI error message.
https://github.com/dmadison/Adalight-FastLED