[Swansea Hackspace] (no subject)

Kieran Evans keyz182 at gmail.com
Sun Aug 9 10:20:51 BST 2020


Maybe some conflicting libraries? I'm with you on the distaste for Arduino,
mainly from the dependency/library management which is next to non
existent. PlatformIO is a little better, and support all the Arduino
boards, but can be overkill.

You could try renaming the Arduino folder (In documents on Windows, not
sure on other platforms), and installing the esp platform and libraries
from scratch in case there's a conflict. A somewhat nuclear option, but
quicker than picking through libraries one by one. This is assuming you
already had Arduino IDE set up previously, if you set it up from scratch
just for this, then lib conflicts is unlikely to be the issue.

Also, could you post up the exact error or a screenshot? Some of these libs
pop up warnings in the console that look like errors but can be safely
ignored. Can't quite tell with this one.

On Sun, 9 Aug 2020, 10:06 Ceri Clatworthy, <ceri.clatworthy at gmail.com>
wrote:

> Thanks for getting back to me.
> I did try a few of the examples...Cylon basic flash and another...
>
> All with the same error.
>
>
> On Sat, 8 Aug 2020, 23:19 Kieran Evans, <keyz182 at gmail.com> wrote:
>
>> I was playing with that library a few weeks ago. On an ESP32, but I can't
>> imagine there's much difference. I'm AFK for a few days, but can dig into
>> my code when I'm back to find some examples.
>>
>>
>> Are you using the code exactly as is in the article? I can't see anything
>> immediately obvious as wrong. There are some notes here
>> https://github.com/FastLED/FastLED/wiki/ESP8266-notes for fastled on
>> 8266. Maybe grab one of the example sketches from the examples directory in
>> that repo to double check things are working? Possibly a library conflict
>> or something?
>>
>> In the end I went with a Pi for my project. Found that the WiFi stack,
>> and streaming fast updates to 100 LEDs was a bit much (I think it was
>> interrupt issues, glitchy animations and such, had neither the time,
>> patience, nor inclination to debug much further).
>>
>> This is what I achieved on Pi:
>> https://www.youtube.com/playlist?list=PLB7cIuujCNRzK1zinSGFgpaQkX5MVJ3Iy
>>
>> With this code:
>> https://github.com/keyz182/LEDServer
>>
>> I also use a fork I made of the rpi_ws281x library, because I'm a little
>> reluctant to run a webserver to push some LEDs as root. That said, it's
>> 100% optional, and I'd advise against trying it for now as I've not done
>> any QC: https://github.com/keyz182/rpi_ws281x_serv
>>
>> As I said above, once back on my PC, I can grab the Arduino code I've
>> messed with, and/or grab a spare 8266 and try the code in that article, but
>> if you aren't tied to the idea of an esp8266, and have a pi zero or
>> something spare, my stuff above could be an alternate starting point.
>>
>>
>>
>> On Sat, 8 Aug 2020, 22:58 Ceri Clatworthy, <ceri.clatworthy at gmail.com>
>> 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 ??
>>>
>>> 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.
>>> _______________________________________________
>>> Hackspace mailing list
>>> Hackspace at swansea.hackspace.org.uk
>>> http://swansea.hackspace.org.uk/mailman/listinfo/hackspace
>>>
>> _______________________________________________
>> Hackspace mailing list
>> Hackspace at swansea.hackspace.org.uk
>> http://swansea.hackspace.org.uk/mailman/listinfo/hackspace
>>
> _______________________________________________
> 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/20200809/4f116e0d/attachment.html>


More information about the Hackspace mailing list