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

Not an issue but a question regarding the regAddr-parameter #5

Open
alphaWave opened this issue Jan 13, 2022 · 0 comments
Open

Not an issue but a question regarding the regAddr-parameter #5

alphaWave opened this issue Jan 13, 2022 · 0 comments

Comments

@alphaWave
Copy link

First of all, thanks very much for this, makes the ESP's SPI a lot more accessible for a beginner like myself.

Some context: The use-case is controlling a DotStar LED-strip with my ESP32. As of now, the DotStar-library only exists for Arduino, so I'm in the process of refactoring it for ESP-IDF. At this point, I can control the LEDs using bitbanging, but it would be neat to be able to do the same via SPI.

It's all fairly straightforward thanks to your example until I reach the regAddr-parameter in the writeByes()-function. The way I see it, I just want to send some data to the MOSI-pin and don't need to specify a register to write to. Am I wrong? Could you give me a hint how to proceed?

@alphaWave alphaWave changed the title Not an issue but a question regarding regAddr Not an issue but a question regarding the regAddr-parameter Jan 13, 2022
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

1 participant