Giter VIP home page Giter VIP logo

arduino_sk6812's People

Contributors

electry avatar michelepagot avatar whati001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

arduino_sk6812's Issues

Brightness

Hi there, How do I set the brighness?
Thanks!

Does this program also work on the ESP32 with a logic level shifter?

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.

example code error - "util/delay.h: No such file or directory"

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.

Missing wait time between sending out data stream

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.

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.