# Meowbit & IOBit

Meowbit can be used in conjunction with an IOBit to achieve even more possibilities.

### MakeCode Arcade Coding Tutorial

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/acbanner1.png)

### Using IOBit and IO Pins

#### Load IOBit Extension

IOBit Extension: <https://github.com/KittenBot/meow-iobit>

#### [Loading Extensions](https://sharinghub-eng.kittenbot.hk/programming-platforms/makecode-tutorial/kittenbot-and-makecode)

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/sd5_1.png)

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/iobit1_1.png)

#### Blocks for controlling IOBit

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/iobit2_1.png)

#### 1. Reading and Writing Values

**1.1 Read digital values**

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/iobit3_1.png)

[Sample Code Link](https://makecode.com/_fD2EzsE3JVPJ)

**1.2 Write digital values**

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/iobit4_1.png)

[Sample Code Link](https://makecode.com/_0Eq1XdHzWXJq)

**1.3 Reading analog values**

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/iobit5_1.png)

[Sample Code Link](https://makecode.com/_cujbCAPbE5Hx)

**1.4 Writing analog values**

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/iobit6_1.png)

[Sample Code Link](https://makecode.com/_2ovaa74358EC)

#### 2. Controlling servos

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/iobit7_1.png)

[Sample Code Link](https://makecode.com/_iA0YjiR3sJFz)
