[Swansea Hackspace] (no subject)

Ceri Clatworthy ceri.clatworthy at gmail.com
Wed Aug 12 16:45:54 BST 2020


Thank you, It now works .. now I have to get a lot more neopixels ...
and a translucent tube... think i might print that though !!

Cheers

Ceri

On Sun, Aug 9, 2020 at 6:17 PM Alice Mitchell <
alice at swansea.hackspace.org.uk> wrote:

> On Sat, 2020-08-08 at 22:57 +0100, Ceri Clatworthy wrote:
> >
> > 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 ??
> >
>
> Oh jeez, the file as linked does not compile, all sorts of mess.
> tidying it up a bit i can get it to build.
>
> some important lines wound up as comments, some functions got called
> before they were defined. stuff like that.
> attached the fixed version.
>
>
>
>
> > 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"
> >
>
> this is a warning, it applies to all ESP devices and this library, just
> ignore it.
>
>
>
> > C:\Users\3D\Documents\Arduino\libraries\FastLED/fastpin.h:207:2:
> > error: static assertion failed: Invalid pin specified
> >
> >   static_assert(validpin(), "Invalid pin specified");
> >
> >   ^
>
> what did you change DATA_PIN to ?
>
>
>
> attached version compiles in Arduino 1.8.13 with esp8266 version 2.7.2
> and FastLED 3.3.3
>
>
>
> _______________________________________________
> Hackspace mailing list
> Hackspace at swansea.hackspace.org.uk
> http://swansea.hackspace.org.uk/mailman/listinfo/hackspace
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://swansea.hackspace.org.uk/pipermail/hackspace/attachments/20200812/dcc96b7b/attachment.html>


More information about the Hackspace mailing list