|
Arduino:1.8.13 (Windows 10), 开发板:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200" In file included from E:\Arduino\小示例\ws2812\ws2812.ino:1:0: C:\Users\11916\Documents\Arduino\libraries\FastLED\src/FastLED.h:14:21: note: #pragma message: FastLED version 3.004.000 # pragma message "FastLED version 3.004.000" ^ In file included from C:\Users\11916\Documents\Arduino\libraries\FastLED\src/FastLED.h:65:0, from E:\Arduino\小示例\ws2812\ws2812.ino:1: C:\Users\11916\Documents\Arduino\libraries\FastLED\src/fastspi.h:135: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" ^ E:\Arduino\小示例\ws2812\ws2812.ino: In function 'void loop()': ws2812:57:26: error: incompatible types in assignment of 'CRGB' to 'CRGB [16]' ws2812:59:15: error: incompatible types in assignment of 'CRGB' to 'CRGB [16]' In file included from C:\Users\11916\Documents\Arduino\libraries\FastLED\src/FastLED.h:48:0, from E:\Arduino\小示例\ws2812\ws2812.ino:1: C:\Users\11916\Documents\Arduino\libraries\FastLED\src/fastpin.h: In instantiation of 'class FastPin<13u>': C:\Users\11916\Documents\Arduino\libraries\FastLED\src/platforms/esp/8266/clockless_esp8266.h:21:49: required from 'class ClocklessController<13, 26, 26, 52, (EOrder)66u, 0, false, 50>' C:\Users\11916\Documents\Arduino\libraries\FastLED\src/chipsets.h:570:7: required from 'class WS2811Controller800Khz<13u, (EOrder)66u>' C:\Users\11916\Documents\Arduino\libraries\FastLED\src/FastLED.h:111:52: required from 'class WS2811<13u, (EOrder)66u>' C:\Users\11916\Documents\Arduino\libraries\FastLED\src/FastLED.h:302:39: required from 'static CLEDController& CFastLED::addLeds(CRGB*, int, int) [with CHIPSET = WS2811; unsigned char DATA_PIN = 13u; EOrder RGB_ORDER = (EOrder)66u]' E:\Arduino\小示例\ws2812\ws2812.ino:29:62: required from here C:\Users\11916\Documents\Arduino\libraries\FastLED\src/fastpin.h:210:2: error: static assertion failed: Invalid pin specified static_assert(validpin(), "Invalid pin specified"); ^ exit status 1 incompatible types in assignment of 'CRGB' to 'CRGB [16]' 在文件 -> 首选项开启 “编译过程中显示详细输出”选项 这份报告会包含更多信息。 |
|