Dual Color Sensor

 

You can connect the [Dual RGB Color Sensor] block of mbuild to Halocode, and make more creations.

 

1. dual color sensor (1) probe (1) detects color (white)?

If the specified probe of the specified dual color sensor detects the specified color, the report condition is met.

1.png

 

Example

2.png

When the button of Halocode is pressed, if probe 1 of dual color sensor 1 detects color red, the LED ring of Halocode will light up red.


2. dual color sensor (1) probe (1) detects ambient light intensity

Reports the ambient light intensity detected by the specified probe of the specified dual color sensor.

3.png

 

Example

4.png

When the button of Halocode is pressed, the ambient light intensity detected by probe 1 of dual color sensor 1 will be shown by the LED ring of Halocode.


Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.