ADataDate / pxt-airQuality

Makecode Package for the CCS811 Air Quality Sensor
MIT License
5 stars 6 forks source link

Microbit Package #2

Closed maddie4832 closed 6 years ago

maddie4832 commented 6 years ago

The link to the package does not work. Is there an updated link to open the package in MakeCode?

ADataDate commented 6 years ago

This package has not been approved by Microsoft yet. The best you can do currently is create the custom blocks locally.

In order to add custom.ts to your project,

go to JavaScript, click on the Explorer view and expand it click on the + button that just appeared accept the dialog to add a custom.ts file in your project. Copy and paste the Javscript code provided in this repo into custom.ts and now it should show up in your editor.

ADataDate commented 6 years ago

I mean to copy and paste airQuality.ts into custom.ts

ADataDate commented 6 years ago

You will also need to delete everything that Microsoft provides as examples when the custom.ts file opens.

maddie4832 commented 6 years ago

Success! Thank you!

compie67 commented 3 years ago

202o stil not found in the extensions. Any workable workaround to provide to my students. Age 14 to 17 years old Got the microbit, GPIO board and the CSS811 sensor Thanks in advanged