# data[].attributes.headline
Write code! Click here to open the MakeCode editor with Hummingbird blocks

# data[].attributes.subject
Write code! Click here to open the MakeCode editor with Hummingbird blocks

# data[].attributes.body
http://bit.ly/HB-MakeCode
The Hummingbird blocks are a light teal color. The blocks we use most often are:

Start Hummingbird
Hummingbird Position Servo
Hummingbird Rotation Servo

The blocks can also be found under the Advanced menu and Extensions.

# data[].attributes.attachment_link.description
A Blocks / JavaScript code editor for the micro:bit powered by Microsoft MakeCode.

# data[].attributes.headline
MakeCode block descriptions from the Hummingbird site

# data[].attributes.subject
MakeCode block descriptions from the Hummingbird site

# data[].attributes.headline
Coding cards from the Hummingbird website

# data[].attributes.subject
Coding cards from the Hummingbird website

# data[].attributes.body
This video shows the robot running code for question 1a.
A motor spins.

# data[].attributes.body
The Motor Mount Template is for building a stand to hold the servo motors.  There are two kinds of stands.  One mounts motors side-by-side and the other mounts motors back-to-back.

To use
1. Cut this template from paper.
2. Trace around the shapes on cardboard.
3. Glue parts together.

# data[].attributes.body
Once you have built your motor mount, put your motors in and try this code.

This code runs both the rotation and position servos.

When button A is pressed, the rotation motor spins for 1 second and stops (port 1).

When button B is pressed, the position motor moves 90 degrees and back (port 2).

# data[].attributes.body
https://makecode.microbit.org/_hTjY1MaroUkd

# data[].attributes.headline
Building resources from the Hummingbird website

# data[].attributes.subject
Building resources from the Hummingbird website

# data[].attributes.body
Instructions for the bracket on the Hummingbird site are similar to the motor mounts here.

# data[].attributes.attachment_link.title
Cardboard Attachments - BirdBrain Technologies

# data[].attributes.attachment_link.description
a Hummingbird Hacks - Cardboard Attachments video

# data[].attributes.body
This guide addresses two common issues when programming the Hummingbird Bit using MakeCode.

How do I know if I have programmed my micro:bit?

My motors won't move.

# data[].attributes.body
Resources from the Hummingbird site

# data[].attributes.body
This video shows the robot running code for question 1b.

A motor spins and stops.

# data[].attributes.body
This video shows the robot running code for question 1c.

In this video, a robot moves two motors: it moves to an angle, spins a motor, stops, and moves back to starting angle.

# data[].attributes.body
This video shows the robot running code for question 1d.

In this video, a robot spins two motors: it moves to an angle, spins a motor, stops, moves back to the start angle and repeats.

# data[].attributes.body
This zip file includes the MakeCode hex files for programming questions 1a - 1d.

# data[].attributes.attachment_link.title
MakeCode / JavaScript - BirdBrain Technologies

# data[].attributes.attachment_link.description
Insert a micro:bit into your Hummingbird Bit Controller (you might need to push a little harder than you think!). The Hummingbird also needs a source of power, so connect it to the battery pack or AC power adapter. Connect your micro:bit to the computer with the USB cord.