<div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Thank you, It now works .. now I have to get a lot more neopixels ...</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">and a translucent tube... think i might print that though !!</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Cheers </div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">Ceri</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 9, 2020 at 6:17 PM Alice Mitchell <<a href="mailto:alice@swansea.hackspace.org.uk">alice@swansea.hackspace.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, 2020-08-08 at 22:57 +0100, Ceri Clatworthy wrote:<br>
> <br>
> Hi all,<br>
> <br>
> I found this project:<br>
> <br>
> <a href="https://www.instructables.com/id/Play-With-Fire-Over-WIFI-ESP8266-Neopixels/" rel="noreferrer" target="_blank">https://www.instructables.com/id/Play-With-Fire-Over-WIFI-ESP8266-Neopixels/</a> <br>
> <br>
> Really fancied making something 'flashy' <br>
> But I cannot get the code to compile, SPI hardware not defined, <br>
> using softSPI or similar error.<br>
> <br>
> As you might know I am not an arduino fan, so well confused.<br>
> <br>
> I have an ESP8266 module, I have got A-N-Other wifi project to work<br>
> so the module is OK.<br>
> <br>
> <br>
> Anyone know how to fix it ??<br>
> <br>
<br>
Oh jeez, the file as linked does not compile, all sorts of mess.<br>
tidying it up a bit i can get it to build.<br>
<br>
some important lines wound up as comments, some functions got called<br>
before they were defined. stuff like that.<br>
attached the fixed version.<br>
<br>
<br>
<br>
<br>
> In file included from<br>
> C:\Users\3D\Documents\Arduino\libraries\FastLED/FastLED.h:65:0,<br>
> <br>
>                  from C:\Users\3D\Documents\Arduino\Fire<br>
> Lamp\fire\fire.ino:3:<br>
> <br>
> C:\Users\3D\Documents\Arduino\libraries\FastLED/fastspi.h:130:23:<br>
> note: #pragma message: No hardware SPI pins defined.  All SPI access<br>
> will default to bitbanged output<br>
> <br>
>  #      pragma message "No hardware SPI pins defined.  All SPI access<br>
> will default to bitbanged output"<br>
> <br>
<br>
this is a warning, it applies to all ESP devices and this library, just<br>
ignore it.<br>
<br>
<br>
<br>
> C:\Users\3D\Documents\Arduino\libraries\FastLED/fastpin.h:207:2:<br>
> error: static assertion failed: Invalid pin specified<br>
> <br>
>   static_assert(validpin(), "Invalid pin specified");<br>
> <br>
>   ^<br>
<br>
what did you change DATA_PIN to ?<br>
<br>
<br>
<br>
attached version compiles in Arduino 1.8.13 with esp8266 version 2.7.2<br>
and FastLED 3.3.3<br>
<br>
<br>
<br>
_______________________________________________<br>
Hackspace mailing list<br>
<a href="mailto:Hackspace@swansea.hackspace.org.uk" target="_blank">Hackspace@swansea.hackspace.org.uk</a><br>
<a href="http://swansea.hackspace.org.uk/mailman/listinfo/hackspace" rel="noreferrer" target="_blank">http://swansea.hackspace.org.uk/mailman/listinfo/hackspace</a><br>
</blockquote></div>