GithubHelp home page GithubHelp logo

Comments (8)

DeqingSun avatar DeqingSun commented on August 21, 2024

I didn't remove the example. It is still on
https://github.com/DeqingSun/ch55xduino/blob/ch55xduino/ch55xduino/ch55x/libraries/WS2812/examples/chaseTest/chaseTest.ino

I've tested on my WS2812 and it worked well. If doesn't work on your side. Would you mind providing more sample of the wrong color?

from ch55xduino.

yanbwang avatar yanbwang commented on August 21, 2024

Hi,

Yes, I can see your WS2812 code now. I don't know why the ZIP I downloaded didn't have this demo code.

I will study it tonight.

Thanks,

Z.t

from ch55xduino.

yanbwang avatar yanbwang commented on August 21, 2024

Hi,

I have fixed this issue. It's caused by the time requirement is different from the one in library.

  WS2812D-F8 | WS2812B-Mini
T0H | 400±150ns | 300±80ns
T0L | 850±150ns | 790±210ns
T1H | 850±150ns | 790±210ns
T1L | 400±150ns | 790±210ns
RES | >50us | >280us

After I change the data transfter time as the one of WS2812B-Mini, it works well.

Thanks a lot for your works.

Z.t

from ch55xduino.

buttim avatar buttim commented on August 21, 2024

How did you change the timing? It seems the only possibility here is changing the number of nops in the code.
I have some issues with the last of 16 LEDs. The last LED always has blue unchanged (stays off if it's off, on if it is on).

from ch55xduino.

DeqingSun avatar DeqingSun commented on August 21, 2024

@buttim if you see a lot of nop, you should update the CH55xduino
Now you can change WS2812_DELAY

from ch55xduino.

buttim avatar buttim commented on August 21, 2024

That's really good news. How comes I can't see the possibility to upgrade from the IDE?

from ch55xduino.

buttim avatar buttim commented on August 21, 2024

Did not add the URL in settings actually

from ch55xduino.

buttim avatar buttim commented on August 21, 2024

Version 0.20 has no problem at all, did not even have to change the timings. Thanks a lot

from ch55xduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.