elecfreaks / pxt-PlanetX

(行星X)The micro:bit new sensor series PlanetX with RJ11 connection port by ELECFREAKS Co.ltd
https://elecfreaks.github.io/pxt-PlanetX/
MIT License
3 stars 9 forks source link

Cannot build with neopixels extension #14

Open martinwork opened 1 year ago

martinwork commented 1 year ago

Describe the bug

If the Neopixels extension is added with PlanetX, either by the user or as dependency of another extension, the project cannot build. image There are muliple duplicate definition errors in the browser console.

This was reported to https://support.microbit.org/ (ticket number 61588) by a user trying to use these extensions together https://github.com/elecfreaks/pxt-PlanetX https://github.com/elecfreaks/pxt-wukong

For a potential fix, please see the discussion on this PR: https://github.com/microsoft/pxt-microbit/pull/4946

To Reproduce Create new project. Add PlanetX. Add Neopixels or wuKong. Download. See error.

Expected behavior Extensions can be used together.