Comments (5)
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.
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.
My lights are working at 32. All colours can be set correctly.
from espruinodocs.
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.
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)
- [tutorials/BLE Advertising.md] Python section, not using sudo with pip HOT 1
- STM32F4DISCOVERY with different accelerometer HOT 2
- Data Streaming To GCP HOT 1
- [Hardware Reference - SetUI] HOT 3
- info/Compilation.md HOT 1
- info/Font Converter.md HOT 3
- KeyPad return values HOT 1
- Docs not built correctly HOT 1
- ST7735 on ESP32 using hardware SPI HOT 3
- graph module bug HOT 1
- Add "Bangle.js Battery Load/Intensity notes" HOT 2
- Reference pages layout improvements HOT 4
- Forum isn't redirecting correctly HOT 1
- tutorials/Software PWM.md HOT 1
- There is no maximum PW rate specified for the puck.js2 HOT 1
- Add Ungoogled Chromium and Bromite to docs as a FOSS alternative HOT 2
- New tutorial: How to rapidly build and test Espruino for banglejs2 HOT 2
- tutorials/Tiny Word Clock.md HOT 7
- Mouldking module not working, possibly wrong device address? HOT 3
- tutorials/Bangle.js Fast Load.md HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espruinodocs.