ancher-bohdan / LedStrip

Adress Led Strip (ws2812) with STM32 microcontroller`s family
0 stars 0 forks source link

Wrong interpretation of count param of function ws2812_transfer_recurrent #6

Closed ancher-bohdan closed 5 years ago

ancher-bohdan commented 5 years ago

The driver always filling count-6 leds, despite count leds. For example, if I pass 12 to function ws2812_transfer_recurrent as a count parameter, the expression will affected only for 6 leds; if the parameter will be 18 - affected to 12 leds and so on. Fix this.

ancher-bohdan commented 5 years ago

Ok. Now the implementation is little bit changed. For now, count parameter represent the number of led_buffers, that will be sending to ledstrip. This revile new issue. It seems, that there is a problem with odd number of count parameter.

Need to fix this

ancher-bohdan commented 5 years ago

Have been fixed in ws2812_driver repository by b774d2c998be857975ca8f40edf8ce8153d4118b commit.