Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pinout for Led strings #27

Open
genehunter29009 opened this issue Nov 20, 2019 · 2 comments
Open

pinout for Led strings #27

genehunter29009 opened this issue Nov 20, 2019 · 2 comments

Comments

@genehunter29009
Copy link

one more question. I wanted to reprogram one of these myself with my own code. Sort of an experiment. Can I get the pinout of the Dotstar led's? I tried the pinout listed for the orginal UFO and they did not seem to work.

@helmut-s
Copy link

helmut-s commented Nov 20, 2019

The source (c++) is open - look at the Ufo constructor (ufo.cpp) where all the DotStarStripe objects are initialized
mStripeLevel1(15, GPIO_NUM_16, GPIO_NUM_18), mStripeLevel2(15, GPIO_NUM_16, GPIO_NUM_17), mStripeLogo(4, GPIO_NUM_16, GPIO_NUM_19)

The first pin is the clock and the second one the data
DotstarStripe(__uint8_t count, gpio_num_t cl, gpio_num_t dt);

@genehunter29009
Copy link
Author

genehunter29009 commented Nov 20, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants