Closed 5vi5t closed 3 years ago
Hi In HyperSerialEsp8266 conventional NeoPixelBus' constructor is used (with only led number is passed as an argument) so standard pin should be selected. You can try to change DotStarMethod to DotStarSpiMethod in the code but I didn't test that method.
Ok, thank you What pins are standart for software spi?
On my Wemos d1 mini pins: D5 and D7
D5 and D7 are hardware SPI pins, and don't work with DotStarMethod =(
As I have no longer any SPI led strip I debug it today to make sure it still works. On screenshot D5 & D7 captured by the analyzer, output starts when HyperHDR is starting sending data, otherwise it's flat zero: If you have no output on these pins then probably there is some other cause.
Software method allows to redefine default pins. I don't change them. On Esp8266 you can't redefine them anyway so always hardware pins are used.
Ok, I understood But dont work with SK9822 and WEMOS D1 mini. I changed to DotStarSpiMethod and dont work too. I tested with FastLED sketch and all good
Did you check if HyperSerialEsp8266 is receiving any data (in statistics)?
I checked with a basic sketch adalight (https://github.com/hyperion-project/hyperion.ng/blob/master/assets/firmware/arduino/adalight/adalight.ino), the data is received, the highlight is working.
There are some specific aspects for HyperSerialEsp8266 that can cause not receiving the data and no output on led in result: different, rigorous protocol not compatible with the sketch you provided and 2Mb speed that can be unsupported by hardware serial chip . So checking these statistics should be first step in the diagnostic because the sketch you used unfortunately tells us nothing about it.
how can I do it?
Please follow guide from other case: https://github.com/awawa-dev/HyperSerialEsp8266/issues/1
In short:
But first verify what serial chip is on your ESP8266 board.
what pins to use for spi? data pin and clock pin? in neopixelbus the software spi method is selected, not the hardware method. Why?) D5 and D7 is simple