microsoft / pxt-maker

MakeCode target for "Maker" boards (beta)
https://maker.makecode.com/
Other
116 stars 82 forks source link

Plot of temperature using onboard neopixels does not work on CPB board #296

Open V2man opened 4 years ago

V2man commented 4 years ago

Temperature does not display correctly on CPB. Works on CPX board. The code below works with Microsoft Makecode and Maker Makecode with CPX board. Try it on Maker Makecode with hardware set to CPB board to recreate problem. With CPB board all neopixels light up for about 3 seconds then go off after reset button is pushed once. May not be reading input.temperature at all. With CPX board Neopixels turn on in clockwise direction with increase temperature. Temperature Farenheit is constrained between 60 and 80 degrees. The code does not work in Maker Makecode with CPB! It does not use graph block. `/**

Here's another example that uses the graph block to plot temperature on the onboard neopixels. It works on CPX but not on CPB. All the onboard neopixels on the CPB board are on.

CPX-T20t30-With-Graph.txt CPX-T20t30-With-Graph