Open this page at https://gbantique.github.io/brickcell-color-tcs34725/
Use as Extension
This repository can be added as an extension in MakeCode.
- open https://makecode.microbit.org/
- click on New Project
- click on Extensions under the gearwheel menu
- search for https://github.com/gbantique/brickcell-color-tcs34725 and import
Edit this project
To edit this repository in MakeCode.
- open https://makecode.microbit.org/
- click on Import then click on Import URL
- paste https://github.com/gbantique/brickcell-color-tcs34725 and click import
Metadata (used for search, rendering)
- for PXT/microbit
Test File
basic.forever(function () {
serial.writeLine("R: " + Brickcell.getRed());
serial.writeLine("G: " + Brickcell.getGreen());
serial.writeLine("B: " + Brickcell.getBlue());
serial.writeLine("");
basic.pause(1000)
})
Credits to the original author for sharing their valuable work for us.
- https://github.com/pimoroni/pxt-envirobit/
Changelogs:
- change the remove bme280 class and sound class.
- change the namespace from envirobit to Brickcell.
- change the subcategory name to “color tcs34725”.