Having some problems with compiling

Hello,

I’m also using this great project, and i’m having some problems with compiling the file.
I’m also kind of a new with arduino.

when Compiling the sketch I get this error message:
‘varSpeed’ was not declared in this scope

I have read this previous forum, where this problem was also discusted, but I couldn’t find a solution to my problem, so could annyone help me?

P.s. I’m using arduino 1.8.9 from the windows store
Already Thanks for your time!

My guess is that you’ve corrupted the .ino file when you downloaded or copied the contents.

Does line 9 of ESP8266-WS28xx-Blynk.ino look exactly like this:
int varSpeed, varRainbowSpeed, varAlertMode, varZone;

Personally, I prefer the Windows installer from the Arduino website.

Pete.

@Thijs_harink I couldn’t get windows to install the Arduino website package. I finally opted for the play store myself. If you find it doesn’t work your not the only one.

the beginning of my sketch looks like this:

So Is there any way to check weather I did something wrong with downloading further?
By the mean time my guess is that there is something wrong with library’s but I don’t know witch one, because when I move line 56-196 upwards in the code the message dissapears, but then other errors occur.

@daveblynk I could try to download the one not from the windows store, but that isn’t reccomended by arduino.

They probably get some form of kickbacks from Microsoft for the promotion of the store. The manual download/install works perfectly.

After creating the wifi_credentials folder and file, the copy/pasted .ino file compiles just fine on my Windows installer based Arduino IDE 1.8.9

We would need to see the actual compiler results to determine if there is any hidden issues.

I reinstalled the arduino software, and also had to update all the esp8266 board managers and librarys, but it gives still the same error.


full error message:

Arduino:1.8.9 (Windows 10), Board:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino:5:0:

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.010

 #    pragma message "FastLED version 3.002.010"

                     ^

In file included from C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/FastLED.h:65:0,

                 from C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino:5:

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/fastspi.h:115:23: note: #pragma message: No hardware SPI pins defined.  All SPI access will default to bitbanged output

 #      pragma message "No hardware SPI pins defined.  All SPI access will default to bitbanged output"

                       ^

In file included from C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino:6:0:

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\wifi_credentials/wifi_credentials.h:2:4: error: 'Wifi' does not name a type

    Wifi Credentials

    ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void setup()':

ESP8266-WS28xx-Blynk-original:31:3: error: 'varSpeed' was not declared in this scope

   varSpeed = 100; // Start on 100 fps

   ^

ESP8266-WS28xx-Blynk-original:32:3: error: 'varZone' was not declared in this scope

   varZone = 1;

   ^

ESP8266-WS28xx-Blynk-original:33:3: error: 'varRainbowSpeed' was not declared in this scope

   varRainbowSpeed = 0;    // Start stationary

   ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite0(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:57:7: error: 'varZone' was not declared in this scope

   if (varZone == ZONE || varZone == 1) {

       ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite1(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:63:7: error: 'varZone' was not declared in this scope

   if (varZone == ZONE || varZone == 1) {

       ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite2(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:69:7: error: 'varZone' was not declared in this scope

   if (varZone == ZONE || varZone == 1) {

       ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite5(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:75:7: error: 'varZone' was not declared in this scope

   if (varZone == ZONE || varZone == 1) varSpeed = param.asInt();

       ^

ESP8266-WS28xx-Blynk-original:75:40: error: 'varSpeed' was not declared in this scope

   if (varZone == ZONE || varZone == 1) varSpeed = param.asInt();

                                        ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite3(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:78:7: error: 'varZone' was not declared in this scope

   if (varZone == ZONE || varZone == 1 && param.asInt()) nextPattern();

       ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite6(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:81:7: error: 'varZone' was not declared in this scope

   if (varZone == ZONE || varZone == 1 && param.asInt()) {

       ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite7(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:87:7: error: 'varZone' was not declared in this scope

   if (varZone == ZONE || varZone == 1 && param.asInt()) {

       ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite4(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:93:7: error: 'varZone' was not declared in this scope

   if (varZone == ZONE || varZone == 1 && param.asInt()) {

       ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite8(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:99:7: error: 'varZone' was not declared in this scope

   if (varZone == ZONE || varZone == 1 && param.asInt()) {

       ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite10(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:105:7: error: 'varZone' was not declared in this scope

   if (varZone == ZONE || varZone == 1) {

       ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite11(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:112:3: error: 'varSpeed' was not declared in this scope

   varSpeed = 100;

   ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite13(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:118:3: error: 'varAlertMode' was not declared in this scope

   varAlertMode = param.asInt();

   ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite14(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:121:8: error: 'varZone' was not declared in this scope

   if ( varZone == ZONE || varZone == 1 && param.asInt()) {

        ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite22(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:127:8: error: 'varZone' was not declared in this scope

   if ( varZone == ZONE || varZone == 1) {

        ^

ESP8266-WS28xx-Blynk-original:128:5: error: 'varRainbowSpeed' was not declared in this scope

     varRainbowSpeed = param.asInt();

     ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite23(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:133:3: error: 'varZone' was not declared in this scope

   varZone = param.asInt();

   ^

ESP8266-WS28xx-Blynk-original:139:35: error: 'varSpeed' was not declared in this scope

     Blynk.virtualWrite(vPIN_FPS,  varSpeed);

                                   ^

ESP8266-WS28xx-Blynk-original:140:43: error: 'varRainbowSpeed' was not declared in this scope

     Blynk.virtualWrite(vPIN_RAINBOWSPEED, varRainbowSpeed);

                                           ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite25(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:144:7: error: 'varZone' was not declared in this scope

   if (varZone == ZONE || varZone == 1 && param.asInt()) {

       ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite26(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:155:7: error: 'varZone' was not declared in this scope

   if (varZone == ZONE || varZone == 1 && param.asInt()) {

       ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void BlynkWidgetWrite27(BlynkReq&, const BlynkParam&)':

ESP8266-WS28xx-Blynk-original:166:8: error: 'varZone' was not declared in this scope

   if ( varZone == ZONE || varZone == 1 && param.asInt()) {

        ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void loop()':

ESP8266-WS28xx-Blynk-original:217:11: error: 'varAlertMode' was not declared in this scope

   switch (varAlertMode) {

           ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void rainbow()':

ESP8266-WS28xx-Blynk-original:295:41: error: 'varRainbowSpeed' was not declared in this scope

   fill_rainbow( leds, LED_NUMBER, gHue, varRainbowSpeed);

                                         ^

ESP8266-WS28xx-Blynk-original:296:24: error: 'varSpeed' was not declared in this scope

   FastLED.delay(1000 / varSpeed);

                        ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void addGlitter(fract8)':

ESP8266-WS28xx-Blynk-original:307:24: error: 'varSpeed' was not declared in this scope

   FastLED.delay(1000 / varSpeed);

                        ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void confetti()':

ESP8266-WS28xx-Blynk-original:315:24: error: 'varSpeed' was not declared in this scope

   FastLED.delay(1000 / varSpeed);

                        ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void sinelon()':

ESP8266-WS28xx-Blynk-original:323:24: error: 'varSpeed' was not declared in this scope

   FastLED.delay(1000 / varSpeed);

                        ^

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino: In function 'void juggle()':

ESP8266-WS28xx-Blynk-original:334:24: error: 'varSpeed' was not declared in this scope

   FastLED.delay(1000 / varSpeed);

                        ^

In file included from C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/FastLED.h:48:0,

                 from C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino:5:

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/fastpin.h: In instantiation of 'class FastPin<14u>':

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/platforms/esp/8266/clockless_esp8266.h:21:49:   required from 'class ClocklessController<14, 20, 50, 30, (EOrder)66u, 0, false, 50>'

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/chipsets.h:571:7:   required from 'class WS2812Controller800Khz<14u, (EOrder)66u>'

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/FastLED.h:105:52:   required from 'class WS2812B<14u, (EOrder)66u>'

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/FastLED.h:302:39:   required from 'static CLEDController& CFastLED::addLeds(CRGB*, int, int) [with CHIPSET = WS2812B; unsigned char DATA_PIN = 14u; EOrder RGB_ORDER = (EOrder)66u]'

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino:38:68:   required from here

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/fastpin.h:207:2: error: static assertion failed: Invalid pin specified

  static_assert(validpin(), "Invalid pin specified");

  ^

exit status 1
'varSpeed' was not declared in this scope

Dit rapport zou meer informatie bevatten met
"Uitgebreide uitvoer weergeven tijden compilatie"
optie aan in Bestand -> Voorkeuren.

Oooff… I had to fix your post as you didn’t properly format the posted code/info as dictated in the forum directions.

I suspect that you might wish to start off with much simpler examples to build up your experience before plunging into a much more advanced example like this.

What does your settings.h file look like?
Please post the code, orrectly formatted with backticks, and not a screenshot.

Pete.

oh i’m actually experienced with arduino and building webservers on the esp8266, but not with fastLED and blynk.

my settings.h file is in folder called settings in my arduino library foler.

/**************************************************************

                            Settings

 **************************************************************/
/*
   Blynk Auth Code
*/
#define AUTH                        "THzPDGO7Iq90-wcn03EMxUXJZBMC7PO6"
/*
   WS28xx Config
*/

#define LED_TYPE                    WS2812B
#define LED_ARRANGE                 GRB
#define LED_NUMBER                  20
#define LED_LIMIT_MILLIAMPS         2000 // Limit current in mA (Must be using FastLED v3.1.1+)
/*
    Zone - Assign a zone to your hardware
    --------------------------------------
      In the Blynk App, fill out the Menu Widget at the top with the different
      zones you want to control.
      Typically this is each room or area so you can control the entire
      zone at once, and exclude other zones. Example below:
        Zone 0 = reserved (will return nothing as its a false)
        Zone 1 = reserved (to control "all" zones at once)
        Zone 2 = Office  (Menu Widget Item 1)
        Zone 3 = Lounge  (Menu Widget Item 2)
        Zone 4 = Outside (Menu Widget Item 3)
        etc.. you can go until your menu widget doesnt let you add more.
    --------------------------------------
*/
#define ZONE                        2
/*
    Nickname - Unique name for each node
    --------------------------------------
      Typically this would be the zone name, followed by the node number.
      In my home, I have 2 nodes in each room. So I call them OFFICE1, OFFICE2, LOUNGE1, LOUNGE2.
    --------------------------------------
*/
#define NICKNAME                    "OFFICE1"
/*
   --------------------------------------
   Over The Air Hostname

     I try to use the NICKNAME (above) as the name to identify it in the IDE.
     Althought you can use what ever you like.
   --------------------------------------
*/
#define OTA_HOSTNAME                "LED-OFFICE1"
/*
   Local Server Settings (uncomment to use local server)
*/
#define USE_LOCAL_SERVER
#define SERVER                      IPAddress(192, 168, 1, 2)
#define BLYNK_MSG_LIMIT             400
/*
   Hardware Pins
*/
#define DATA_PIN                    14 // GPIO12 / D6 on WeMos/NodeMCU ESP8266
/*
   Virtual Pins
*/
#define vPIN_HUE                    V0
#define vPIN_SATURATION             V1
#define vPIN_BRIGHTNESS             V2

#define vPIN_PRESET                 V3

#define vPIN_FPS                    V5

#define vPIN_COLOUR_BLUE            V4
#define vPIN_COLOUR_RED             V6
#define vPIN_COLOUR_GREEN           V7
#define vPIN_COLOUR_WHITE           V8

#define vPIN_TERMINAL               V9
#define vPIN_MANUAL                 V10
#define vPIN_SYNC_GHUE              V11

#define vPIN_ALERT                  V13
#define vPIN_OFF                    V14

#define vPIN_RAINBOWSPEED           V22
#define vPIN_ZONE_SELECT            V23
#define vPIN_TESTMODE               V24

#define vPIN_COLOUR_MEM1            V25
#define vPIN_COLOUR_MEM2            V26
#define vPIN_COLOUR_MEM3            V27
#define vPIN_COLOUR_MEMSAVE         V28

#define vPIN_NIGHTMODE              V29
/*

*/


I don’t see how the compiler will find the settings.h file if it’s not in the same folder as ESP8266-WS28xx-Blynk.ino or you change the include statement to incorporate the path.

Pete.

2 Likes

As @PeteKnight has said, or instead of:

#include "settings.h"

you would need to do

#include <settings.h>

The “” uses headers from local folders whereas <> uses local and global folders (as defined in the Arduino IDE)

Thanks @PeteKnight @JustBertC, That solved one problem!, but there is another one…
my error file is now:

Arduino:1.8.9 (Windows 10), Board:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino:5:0:

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.010

 #    pragma message "FastLED version 3.002.010"

                     ^

In file included from C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/FastLED.h:65:0,

                 from C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino:5:

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/fastspi.h:115:23: note: #pragma message: No hardware SPI pins defined.  All SPI access will default to bitbanged output

 #      pragma message "No hardware SPI pins defined.  All SPI access will default to bitbanged output"

                       ^

In file included from C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/FastLED.h:48:0,

                 from C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino:5:

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/fastpin.h: In instantiation of 'class FastPin<12u>':

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/platforms/esp/8266/clockless_esp8266.h:21:49:   required from 'class ClocklessController<12, 20, 50, 30, (EOrder)66u, 0, false, 50>'

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/chipsets.h:571:7:   required from 'class WS2812Controller800Khz<12u, (EOrder)66u>'

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/FastLED.h:105:52:   required from 'class WS2812B<12u, (EOrder)66u>'

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/FastLED.h:302:39:   required from 'static CLEDController& CFastLED::addLeds(CRGB*, int, int) [with CHIPSET = WS2812B; unsigned char DATA_PIN = 12u; EOrder RGB_ORDER = (EOrder)66u]'

C:\Users\thijs_xko7o1y\Documents\Arduino\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original\ESP8266-WS28xx-Blynk-original.ino:38:68:   required from here

C:\Users\thijs_xko7o1y\Documents\Arduino\libraries\FastLED/fastpin.h:207:2: error: static assertion failed: Invalid pin specified

  static_assert(validpin(), "Invalid pin specified");

  ^

exit status 1
Fout bij het compileren voor board NodeMCU 1.0 (ESP-12E Module)

Dit rapport zou meer informatie bevatten met
"Uitgebreide uitvoer weergeven tijden compilatie"
optie aan in Bestand -> Voorkeuren.

So I suggest that there is something wrong with the fastLED library pin declaration, but I couldn’t find it yet by my self. but I already fixed a problem with wifi declaration in the Settings file, where one ‘’/’ too much was’

I don’t really use FastLED, but my guess is that something has changed in the required syntax of the commands between the version of the library that you are using, and the version that was used when the original code was written.
Downgrading g to an earlier version of the library, or googling the error message, is where I’d start.
Either way, it not a Blynk related issue.

Pete.

1 Like

Try adding:

#define FASTLED_INTERNAL

before you include the FastLED library…

#define FASTLED_INTERNAL
#include <FastLED.h>