Code Monkey home page Code Monkey logo

Comments (5)

kimbauters avatar kimbauters commented on July 2, 2024

More on this issue can also be found on http://forum.espruino.com/conversations/493/ . It seems that some work with 64, others with 32. The main problem is that some of the documentation on these lights suggest that you should double the rate, while other parts of the documentation (on other pages) does not.

There also appears to be a problem with all LEDs turning white, but I am wondering whether this has more to do with the regression bug in the array access.

PS: this is a general comment w.r.t. the documentation. There is a lot of information in there, but it is all very hard to find ... . the structure isn't that clear and there is now good "flow" to find the information you are looking for.

from espruinodocs.

gfwilliams avatar gfwilliams commented on July 2, 2024

This is definitely with the Espruino board and lights?

I'll add something to the docs. All LEDs turning while could be an issue with trying to maintain 6400000 baud without gaps I guess - but apart from the occasional white flicker you can set the LED colours correctly?

from espruinodocs.

kimbauters avatar kimbauters commented on July 2, 2024

My lights are working at 32. All colours can be set correctly.

from espruinodocs.

nielsdoorn avatar nielsdoorn commented on July 2, 2024

That's weird, I definitely have the kickstarter Espruino + lights kit. I had the problem with lights turning white when I tried 32 and 16.

With 64 I can set them all at any color I want, and I haven't noticed any flickering. Had much fun with them the last couple of days!

For example, I created this at 64 https://gist.github.com/nielsdoorn/8631319

from espruinodocs.

gfwilliams avatar gfwilliams commented on July 2, 2024

Could you actually try connecting your lights to B15 and using SPI2 as in the examples? It looks to me like this is actually a problem with the clock speed on SPI1 (rather than the lights).

I'd specifically added some code recently to fix the clock speed issue, but it looks like there was a typo in it!

Thanks for posting the code up, the effect looks really nice :) When I sort out the SPI baud rate issue, could you post it on the forum? It'd be good to have some stuff there for others to see.

from espruinodocs.

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.