This is an example of the legoino arduino library to control the new Bluetooth hubs from lego. In this example the distance value of the distance and color sensor is read in and converted into a color value dependent on the distance.
* small distance - red * medium distance - orange * large distance - red
0 Comments