krumpli01 Programming in Mosaic Mar 26, 2024, 7:43 AM Apr 13, 2024, 10:45 PM

How is it possible to make color picker wheel/circle for RGB LED dimmer? Also would be good if it have light level slider too. Is there any preprogammed canvas object for this?

 

Answers 1

Luboš Urban Apr 13, 2024, 10:45 PM

The color picker wheel is inserted to the canvas as a background picture and you choose the color by mouse click to any place. See fbMyColorsPickHSV and prgColorPickers. Pictures huecircle.png and huepalette.png are in the attached project in Webmaker/Images subfolder.

Slider function block is shown in other examples. All function blocks are opened, not as a library function blocks, so that you can modify them according to your needs.

Your answer

You have to be signed-in for asking a question. Continue after sign-in.