ConfigStatic.h for ESP32

  • Hello everyone. I am novice.

    I have LED strip SK6812, RGBW and esp32. number of LEDs on TV 132 (24/24/42/42)


    I followed this instruction.


    I installed the latest arduino-ide_2.0.4_Linux_64bit

    Board libs installation by the link of the board library failed so I installed from this link (as I understood they are equivalent). I also installed latest version other libraries to work (Arduino Thread, ArduinoJson, LinkedList, Fast led, Arduino-logging-library, ESP 32 web server).


    I didn't find "esp32" in the proposed boards, so I used library the "ESP 32 Dev module" и "DOIT ESP 32 DEVKIT V1".



    #define CONFIG_ENABLE_WEBCONFIG 1

    #define CONFIG_LED_CLOCKLESS_CHIPSET WS2812B //Comment in for clockless

    #defineCONFIG_LED_DATAPIN D1 //Comment out for PWM

    #define FASTLED_ESP8266_NODEMCU_PIN_ORDER


    #define CONFIG_LED_COLOR_ORDER RGB
    #define CONFIG_LED_COUNT 132


    #define CONFIG_LED_STANDARD_MODE RAINBOW_V2
    #define CONFIG_LED_HYPERION_AUTOSWITCH true
    #define CONFIG_LED_STANDARD_MODE_TIMEOUT_MS 5000
    #define CONFIG_LED_STATIC_COLOR CRGB(254, 254, 254)


    but my configStatic.h verifies with errors

    In the file included from

    #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"

    .....

    : note: in expansion of macro 'LED'

    pinMode(LED, OUTPUT); // LED pin as output.


    Compilation error: 'D1' was not declared in this scope


    What am I doing wrong?

  • Lord-Grey

    Approved the thread.
  • Full text error does not fit into the message, so I posted it on telegra.ph.



    In file included from c:\Users\******\Documents\Arduino\libraries\FastLED\src/FastLED.h:67:0,

    from C:\Users\******\Downloads\Hyperion_LED-Controller-master\Hyperion_LED-Controller-master\HyperionRGB\ConfigStructures.h:7,

    from C:\Users\******\Downloads\Hyperion_LED-Controller-master\Hyperion_LED-Controller-master\HyperionRGB\Config.h:9,

    from C:\Users\******\Downloads\Hyperion_LED-Controller-master\Hyperion_LED-Controller-master\HyperionRGB\BaseHeader.h:6,

    from C:\Users\******\Downloads\Hyperion_LED-Controller-master\Hyperion_LED-Controller-master\HyperionRGB\WrapperLedControl.h:4,

    from C:\Users\******\Downloads\Hyperion_LED-Controller-master\Hyperion_LED-Controller-master\HyperionRGB\WrapperLedControl.cpp:1:

    c:\Users\******\Documents\Arduino\libraries\FastLED\src/fastspi.h:145: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"

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!