Files

51 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2025-01-14 20:07:05 +09:00
# M5Unit - COLOR
2025-01-07 12:14:14 +09:00
## Overview
2025-01-14 20:07:05 +09:00
Library for COLOR using [M5UnitUnified](https://github.com/m5stack/M5UnitUnified).
M5UnitUnified is a library for unified handling of various M5 units products.
2025-01-07 12:14:14 +09:00
2025-01-14 20:07:05 +09:00
### SKU:U009
COLOR is a color recognition unit integrating a TCS3472x RGBC 4-channel sensor. It communicates over I2C at address `0x29`, can detect color values and return RGB data, includes a white LED fill-light for more stable measurement, and provides a LEGO-compatible mounting hole for easy mechanical integration.
2025-01-07 12:14:14 +09:00
## Related Link
2025-01-14 20:07:05 +09:00
See also examples using conventional methods here.
2025-01-07 12:14:14 +09:00
2025-01-14 20:07:05 +09:00
- [Unit Color & Datasheet](https://docs.m5stack.com/en/unit/COLOR)
2025-01-07 12:14:14 +09:00
2025-01-14 20:07:05 +09:00
### Required Libraries:
- [M5UnitUnified](https://github.com/m5stack/M5UnitUnified)
- [M5Utility](https://github.com/m5stack/M5Utility)
- [M5HAL](https://github.com/m5stack/M5HAL)
2025-01-07 12:14:14 +09:00
## License
2025-01-14 20:07:05 +09:00
- [M5Unit-COLOR - MIT](LICENSE)
2025-01-07 12:14:14 +09:00
2025-01-14 20:07:05 +09:00
## Examples
See also [examples/UnitUnified](examples/UnitUnified)
2025-01-07 12:14:14 +09:00
2025-01-15 12:27:47 +09:00
- [PlotToSerial](examples/UnitUnified/UnitColor/PlotToSerial)
Displays detected colors to serial and screen.
Includes examples of multiple color correction methods from raw values.
2026-02-21 15:24:49 +09:00
## Doxygen document
2025-01-14 20:07:05 +09:00
[GitHub Pages](https://m5stack.github.io/M5Unit-COLOR/)
2025-01-07 12:14:14 +09:00
2025-01-14 20:07:05 +09:00
If you want to generate documents on your local machine, execute the following command
2025-01-07 12:14:14 +09:00
2025-01-14 20:07:05 +09:00
```
bash docs/doxy.sh
```
2025-01-07 12:14:14 +09:00
2025-01-14 20:07:05 +09:00
It will output it under docs/html
If you want to output Git commit hashes to html, do it for the git cloned folder.
2025-01-07 12:14:14 +09:00
2026-02-21 15:24:49 +09:00
### Required
2026-03-10 19:04:34 +09:00
- [Doxygen](https://www.doxygen.nl/)
2025-01-14 20:07:05 +09:00
- [pcregrep](https://formulae.brew.sh/formula/pcre2)
- [Git](https://git-scm.com/) (Output commit hash to html)
2025-01-07 12:14:14 +09:00