Co
nnect Arduino to P5
In the code, I use phototransistor to control the view of image (to zoom in and zoom out) and use fsr to simulate the movement of water droplets. Originally, I wanted to control the shape through switch to increase the visual effect of this project. But I tried to add variables such as shape, shape-increasement, etc., but the shape did not change. Perhaps because there are too many values, the computer may even freeze or crash during this process, so this effect is not successful.