Chat freely about anything...

User avatar
By sfranzyshen
#10413
popsodav wrote:Hi,

I'm working on my first ESP8266 library to communicate with LPD6803 LED pixel strips.
First version is ready for testing:
https://github.com/popsodav/esp8266-lpd6803

Your feedback about it will be very valuable for me.
Thank you!


Hi popsodav! and thank you for all your work!
I am attempting to merge frans-willem's tpm2net code ... with your code. My first attempt has failed ... I am going to take another stab at it today ... I not sure where it fails (waiting on lpd6803 strip) but I think it might be the wdt ... I eliminated the os_delay_us(40) call from the code ... I am going to leave it in this time. My next question ... is after I do a lpd6803_show() do I have to wait until the frame is complete lpd6803_SendMode == LPD6803_DONE before I update lpd6803_pixels[] array again? Here is what I am attepting to do ...

In frans-willem's tpm2net code when a frame is recieved it passes a pointer of the rgb buffer and the length of the rgb buffer off to the ouput code lpd6803_strip( uint8_t * buffer, uint16_t length) ... then looping thru the rgb buffer loading the lpd6803_pixels[] array using the lpd6803_setPixelColor(uint16_t n, uint8_t r, uint8_t g, uint8_t b) command until the frame is complete ... then I do a lpd6803_show() ... this proccess is then repeated again and again ...

I have code posted here https://github.com/sfranzyshen/esp8266_tpm2net_lpd6803 but it has been reported NOT to work ...
UPDATE: I have made some headway ... I have uploaded a modified version of GengusKahn's lpd6803.tar file on to my github fork of your code here ...
https://github.com/sfranzyshen/esp8266- ... hen.tar.gz
I plan to make changes to my fork of your code ... but I am waiting until some testing

Thanks again for you work :D