Programming with UIFlow

A project log for M5Stack Color Maker

With this device, you can copy the color of an object or create a new color with your imagination.

After connecting the sensors, write the program in the M5Stack Core2.

The program we have created is as follows. The program file is also attached.

In this program, when you press the "SCAN" button, it reads the color data, converts it to CMYK format, and reflects it on the slider on the UI. By manipulating the slider, you can edit the color as desired.

The synthesized color is also reflected in the color of the "MAKE COLOR" button.
Clicking the "MAKE COLOR" button will output CMYK data serially.