Hello good people,
I'm coming with an inquiry. I and my friend Iulia have developed a code that intends to fade a LED using information stored in a cue list. For this, we are using a nodemcu-ESP8266 board.
In the code:
- We have created an array with ´struct´ to save information (intensity, fadeTime, delayTime)
- We created a function iteration that will make the fade. For this, the function will call the value of intensity [n-1] and created an iteration to the value in intensity[n]
- At last, we created a loop so the values on [n] change and the program runs as a cue list.
Until now the program compiles when the selected board is an Arduino UNO. But as soon as I change it to write an esp8266 the program can't compile.
You will be wondering, why to use an esp8266 if the is no IoT stuff involved. Well, the electronics are reused from another project where the dimmer was controlled by a UDP server. Now we need to get this only one to work standalone based on these cues. To change the electronics is not possible, as the dimmer is no longer with us. So I need to deliver a code for the dimmer to be updated.
I've installed all the drivers and have been programming for the ESP8266 for some time already with no mistake. This is the first time I hit a wall. Please heelp
interpolate_izedit.ino (2.3 KB)