tom-2015 / rpi-ws2812-server

Raspberry Pi WS2812 (web) server tool
172 stars 39 forks source link

render does weird things #37

Closed hans-martijn closed 4 years ago

hans-martijn commented 4 years ago

I have a test webpage to send a render to my server (render 1,0,FF0000FF0000FF0000;), the first light turns red, the second and the third turn blue. If I render with 00FF0000FF0000FF00, the first one is green, the second one is red, the third one is off.

Only if I put two extra hex numbers in between the colour-codes it works. I initialized them with type 4, which should be right. I checked the chip (and even the manufacturer's site; it is a 24 bit chip. The two extra hex numbers don't change anything on the chip either. Do I initialize wrong? (setup 1,3,4;init).

tom-2015 commented 4 years ago

what happens when you do a fill?

fill 1,FF0000; render;

hans-martijn commented 4 years ago

That works, they all become red. The reason I want to use render is that I want to be able to control each light separately.

Sent from my iPhone

On 16 Jan 2020, at 18:04, Tom notifications@github.com wrote:



what happens when you do a fill?

fill 1,FF0000; render;

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftom-2015%2Frpi-ws2812-server%2Fissues%2F37%3Femail_source%3Dnotifications%26email_token%3DAOJN2MEUPAZ6LF3DIXRFQGDQ6CHPBA5CNFSM4KHRYNSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJEZSUI%23issuecomment-575248721&data=02%7C01%7C%7C358355f3a2a14da5088d08d79aa60bff%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637147910418802868&sdata=mcVR2npM89BEjfWNAxDt2qPktDBY44ts%2BjcgQ0KSxsY%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOJN2MDTD477IIGJG6O43KDQ6CHPBANCNFSM4KHRYNSA&data=02%7C01%7C%7C358355f3a2a14da5088d08d79aa60bff%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637147910418812877&sdata=kPB797lNpPX4egIuQTdbfB233gYgL7WaCfTnpvEqiZo%3D&reserved=0.

tom-2015 commented 4 years ago

It is a bug in the setup command, I've updated try pull and recompile see if this fixes the problem

hans-martijn commented 4 years ago

Yes, it works like a charm!

Thanks a lot!!!

Regards, Hans

Sent from my iPhone

On 16 Jan 2020, at 18:51, Tom notifications@github.com wrote:



It is a bug in the setup command, I've updated try pull & make see if this fixes the problem

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftom-2015%2Frpi-ws2812-server%2Fissues%2F37%3Femail_source%3Dnotifications%26email_token%3DAOJN2MB7GQGDT6QXLYHEJZLQ6CNBHA5CNFSM4KHRYNSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJE6PSA%23issuecomment-575268808&data=02%7C01%7C%7C521cb0480aca4121d0bf08d79aacafad%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637147938772567438&sdata=1F5Y7M9sRquNPDJZKeynwyXUjFCPGWMmiwDXTefllcg%3D&reserved=0, or unsubscribehttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOJN2MEXLSZZCR7R2B6N7ILQ6CNBHANCNFSM4KHRYNSA&data=02%7C01%7C%7C521cb0480aca4121d0bf08d79aacafad%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637147938772577442&sdata=gYTXN%2FcbuHkYONHYZKXHq5IPZYTHUMclteBCunzb6Ls%3D&reserved=0.