-
Notifications
You must be signed in to change notification settings - Fork 6
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
Great work #1
Comments
Ok, I get it now, thanks :-) I was getting confused betwen the 24 bits per pixel format and the line format. I am using the driver from your project now in my own code, works great. Only snag is I want to drive >300 LEDs. I am not sure I know enough about the DMA I/O on this chip to cascade the buffers and update them.
Yes and no, I did not write the driver for ws2811 in the project. I took from this project, the guy is a genius: I did write my own 2bpp driver for RPI, but that was a while back :-) Your code works great, just need to figure out how to cascade those DMA linked lists. I don't get as much free time as I would like so that sometimes limits how much I can do for any given project. Thanks, |
Nice work on that LED panel 👍! I see two different solutions to your problem:
The problem here is that noone really knows much about the DMA subsystem on the ESP8266 (at least at the time I wrote this code), because the documentation doesn't seem to be out there. The other solution is to use different encodings for the data bits. Instead of using 4 bits "HHLL" / "HLLL", 3 bits "HHL" / "HLL" might also just suffice. If your LEDs are tolerant enough for those three-bit timings, you should easily be able to drive your 360 LEDs without changing any critical low-level DMA code. |
Does making HHL/HLL 3 bits rather than 4 make the timings 25% faster ? Thanks, |
Yes, every bit will still take the same time on the wire, so timings will be faster when using just three instead of four bits. However, you can adjust the time each output bit lasts by changing the values of |
I have a digital scope, I will go and play. I've yet to try your UDP generation code but it looks great so I will try and find time to play with that this week. Huge thanks your code and help :-) |
How did you modify the H801? |
Not had time to try this code yet, but it looks fantastic. I plan to modify an H801 lighting controller to use with this.
Very very minor thing, should the comment
"Fill tape with color data, 32bit of color data per color"
be 24 bits of color data ?
The text was updated successfully, but these errors were encountered: