Demo code for the use of color block. color_block_demo
is for hardware version 1, color_block_demo2
and maze_game
are for hardware version 2. There is only one sensor upgrade between the two version, from ADXL335 to MPU6050.
Five exampel visual effects of our original color block:
The maze game: