Time for a challenge
Challenge #1
Just as with Activity #4, can you add a green brick and do the respective programming as follows?
- Red brick to be knocked to the left tray
- Blue brick to be knocked to the right tray
- Green brick to be knocked to the front tray (made with blue LEGO bricks)
You must display on the screen the respective color name that is sensed by the sensor. The program must be such that no matter the order in which you place the bricks on the belt, it should be able to sort them out. Make sure to place one brick after another.