Introduce: The color of the flower will change its color according to light.
Part list:
- 1 x pcDuino
- 1 x Light Sensor
Step 1 : Install the Linker Base Shield to the pcDuino, and connect the Light Sensor as the follows:
Step 2:Launch Scratch for pcDuino, click
to draw the script 2 and script 3
Step 3: Click
to edit the flower script.
When the voltage is below 3400 mv, click the ![]()
you will see the color of the flower change from red to green, as the follows!

Leave a Reply
You must be logged in to post a comment.