electry / arduino_sk6812 Goto Github PK
View Code? Open in Web Editor NEWArduino library for SK6812 based RGBW (4-channel) LEDs
Arduino library for SK6812 based RGBW (4-channel) LEDs
Hi there, How do I set the brighness?
Thanks!
Hello,
I am currently doing a project and I want to use SK6812 LEDs.
The main chip of the project will be an ESP32.
Does this program also run on an ESP32 when I use a logic level shifter to boost the signal to 5V?
If not I will have to use an ATMEGA328P chip talking to the ESP32 over a serial connection.
Hi Im having the following error when trying to upload the example code.
Please help.
ResolveLibrary(util/delay.h)
-> candidates: []
In file included from E:\My Drive! Projects\Gazebo\sk6812_test\sk6812_test.ino:1:0:
C:\Users\Graham\Documents\Arduino\libraries\Arduino_SK6812-master/SK6812.h:4:24: fatal error: util/delay.h: No such file or directory
compilation terminated.
Using library Arduino_SK6812-master in folder: C:\Users\Graham\Documents\Arduino\libraries\Arduino_SK6812-master (legacy)
exit status 1
Error compiling for board ESP32 Dev Module.
The SK6812 controller awaits a ~80μs low signal between data transmission.
Taken from: https://cdn-shop.adafruit.com/product-files/1138/SK6812+LED+datasheet+.pdf
Currently, if we run the sync() funciton in an endless loop, the leds light up in same "random" fashion.
This is because we do not wait those 80us between sending out the signals.
Adafruit does some busy wait for 300us to guarantee proper led setting.
Same logic should be applied here.
in sendarray_mask functions in line 72 there is a ban on interrupts, I don’t see where the permission is ...
or is it not necessary?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.