microsoft / pxt-neopixel

A Neo-Pixel package for pxt-microbit
https://makecode.microbit.org/pkg/microsoft/pxt-neopixel
MIT License
58 stars 140 forks source link

index input is not cast to integer. Breaks with a float. #35

Closed nielsswinkels closed 6 years ago

nielsswinkels commented 6 years ago

The block "set pixel color at" breaks if the input index is a decimal number. Please make it cast the input to integer. (For example the map block outputs decimals in the new editor)

pelikhan commented 6 years ago

Fixed in 0.6.10