# MicroCode Programming Tutorial

#### Using MicroCode <a href="#microcode-yong-fa" id="microcode-yong-fa"></a>

MicroCode is supported by Newbit, it can run on Micro:bit V2.

​[MicroCode](https://microsoft.github.io/microcode/#H4sIAMDPv2MAA32OWwuCMBiG/1JmB3aZIrXhFJmH5V1lwre0AhWdv75PZ9BVVy8PvKe7Zv2tJs/8mNZUvfe0OkBYtah0UY7aQDJ6IEUPkaC7TDMnTAzHhoMAWFGK4cdP//q5chwKyPEZpFw1+CPG/Svmt5Fghe8yZ+aHN3B35sDwSnMPu6aMbS2b5muZWsQ/4Tbght2SpVdMua939rhsnUs2XjLSUfWCQtEucDeaAyMf85b1ohABAAA=)​

Download the hex file for Micro:bit V2.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6uJvpXC43onNIIwhMlWo%2Fuploads%2FobfTLjEXMR2WeUWdtZrd%2Fimage.png?alt=media&#x26;token=52139623-770d-445c-bcbf-3a6c1c035836" alt=""><figcaption></figcaption></figure>

Upload the hex file to Micro:bit V2.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6uJvpXC43onNIIwhMlWo%2Fuploads%2FF5le5FzVBBYbzLXGW9BL%2Fimage.png?alt=media&#x26;token=6beb0b1e-5a90-46da-9c6e-3035dfd592c5" alt=""><figcaption></figcaption></figure>

Connect a battery to Newbit.

<figure><img src="https://kittenbothk.readthedocs.io/en/latest/_images/newbit2.png" alt=""><figcaption></figcaption></figure>

The screen will show the MicroCode interface.

<figure><img src="https://kittenbothk.readthedocs.io/en/latest/_images/newbit3.png" alt=""><figcaption></figcaption></figure>
