Lego Robotics

My Creation
I created a Lego robotics crocodile, that could move its mouth up and down and roar. My creation had a mortar attached to the img_2360back of it, and gears so the mortar could spin the gears, and open and close its mouth. The crocodile had a large mouth, and was. built so the blocks could not interfere with any of the gears.

My Code
My code is supposed to turn the motor left opening the mouth, roar, turn the motor right closing its mouth and then wait. I wanted my code to repeat closing, opening and roaring every 7 seconds. I programmed to start using the A key but I decided it img_2363would be better to use the start button. If I programmed my alligator again, I would put a repeat button in front of the A to the end, and I would replace the A with a play button.

REMIX!
If I could change my project, I would work more in my code, because I didn’t have much time to create a code. So I would change my code more, and maybe even create a new, more creative one.

References
I got my ideas from the lego wedo website. In the Lego wedo website there are multiple different designs that you could build. Me and my partner chose the crocodile and we had step by step instructions how to build the Lego robotics crocodile.