[Swansea Hackspace] (no subject)

Ceri Clatworthy ceri.clatworthy at gmail.com
Sat Aug 8 22:57:08 BST 2020


Hi all,

I found this project:

https://www.instructables.com/id/Play-With-Fire-Over-WIFI-ESP8266-Neopixels/


Really fancied making something 'flashy'
But I cannot get the code to compile, SPI hardware not defined,
using softSPI or similar error.

As you might know I am not an arduino fan, so well confused.

I have an ESP8266 module, I have got A-N-Other wifi project to work
so the module is OK.


Anyone know how to fix it ??

Cheers

Ceri










Arduino: 1.8.9 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash,
Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr
(aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB),
2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only
Sketch, 921600"

In file included from C:\Users\3D\Documents\Arduino\Fire
Lamp\fire\fire.ino:3:0:

C:\Users\3D\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note:
#pragma message: FastLED version 3.003.003

 #    pragma message "FastLED version 3.003.003"

                     ^

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

                 from C:\Users\3D\Documents\Arduino\Fire
Lamp\fire\fire.ino:3:

C:\Users\3D\Documents\Arduino\libraries\FastLED/fastspi.h:130: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\3D\Documents\Arduino\libraries\FastLED/FastLED.h:48:0,

                 from C:\Users\3D\Documents\Arduino\Fire
Lamp\fire\fire.ino:3:

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

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

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

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

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

C:\Users\3D\Documents\Arduino\Fire Lamp\fire\fire.ino:70:78:   required
from here

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

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

  ^

exit status 1
Error compiling for board Generic ESP8266 Module.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20200808/bb24bab0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fire.ino
Type: application/octet-stream
Size: 8074 bytes
Desc: not available
URL: <http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20200808/bb24bab0/attachment.obj>


More information about the Hackspace mailing list