View on GitHub

brickcell-color-tcs34725

MakeCode extension to support the TCS34725 RGB Color sensor module of Brickcell Development Kit.

Open this page at https://gbantique.github.io/brickcell-color-tcs34725/

Use as Extension

This repository can be added as an extension in MakeCode.

Edit this project

To edit this repository in MakeCode.

Metadata (used for search, rendering)

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.

  1. 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”.