Home

Awesome

pxt-tcs3200-color-sensor

Blocks

Calibration

To calibrate the color sensor. You can specify the calibration time for each color, the longer it takes to calibrate, the more accurate it will be (theoretically).

Connect the sensor to a micro:bit. Set up the pins and place the sensor in white paper then start running the block.

color

Return the RGB value (0 - 255) for selected color.

TODO (package)

Read more at https://makecode.microbit.org/packages/build-your-own

License

MIT

Supported targets

GitHub: DoraLC/pxt-tcs3200-color-sensor

(The metadata above is needed for package search.)

Footnotes

  1. datasheet: https://www.mouser.com/catalog/specsheets/TCS3200-E11.pdf