psieg / Lightpack

Lightpack and Prismatik open repository
GNU General Public License v3.0
1.57k stars 188 forks source link

Prismatik problem with the modes of operation with arduino #503

Open 228BlackWolf228 opened 2 years ago

228BlackWolf228 commented 2 years ago

the problem of working with LEDs larger than 255 in the version Prismatic.unofficial.64bit.Setup.5.11.2.30, using ARDUINO adalight connection mode (serial, 511 LEDs) image

zomfg commented 2 years ago

your arduino sketch probably uses int8_t for your led count, make sure it's int16_t

228BlackWolf228 commented 2 years ago

your arduino sketch probably uses int8_t for your led count, make sure it's int16_t

I have not int, but uint, it was as you said uint8_t, changed to uint16_t, nothing has changed, stopped responding through prismatik.

zomfg commented 2 years ago

what's the problem that you are having tho? you never actually said.. could you show the whole sketch here

228BlackWolf228 commented 2 years ago

I am not very good at programming, if you can help me if possible, I will be very grateful.

https://github.com/228BlackWolf228/Ambilight/blob/dda82ac54df5d771cb34ac06b3906c83a4867df9/echo%20%22%23%20Ambilight%22%20%3E%3E%20README.md%20git%20init%20git%20add%20README.md%20git%20commit%20-m%20%22first%20commit%22%20git%20branch%20-M%20main%20git%20remote%20add%20origin%20https:/github.com/228BlackWolf228/Ambilight