microsoft / pxt-neopixel

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

pxt-neopixel doesn´t work on Calliope Mini #32

Closed MKleinSB closed 5 years ago

MKleinSB commented 6 years ago

We have Problems using the neopixel library because of missing math functions. As a workaround we have to add

// notwendige Funktionen für das aktuelle Neopixel-Paket namespace Math { export function idiv(x: number, y: number) { return x / y } export function round(x: number) { return x } }

So I think we need this two functions in makecode ? ;-)

grafik

MKleinSB commented 5 years ago

Solved at: https://github.com/MKleinSB/pxt-neopixel-calliope