Makecode Coding and KittenBot IoT

../../_images/mcbanner.png

Foreword

The following tutorial is for WifiBrick and Robotbit, for KOI users, some programs may need adjustments to work on KOI.

1: Setting Up KittenBot IoT

Create a new topic on KittenBot IoT.

Kittenbot IoT

../../_images/kittenbot_11.png

2: MakeCode Coding

Import Extensions

Search for KittenBot

Select KOI or WifiBrick depending on your hardware

../../_images/wifi_search.png

WifiBrick Sample Program

By default, the MQTT host is already set to KittenBot IoT.

../../_images/kittenbot_21.png

Press A to publish a light intensity data to KittenBot IoT.

Manually publish “happy” or “sad” on KittenBot IoT, Micro:bit will display a corresponding icon.

../../_images/kittenbot_31.png

Sample Program

KOI Sample Program

By default, the MQTT host is already set to KittenBot IoT.

../../_images/kittenbot_51.png

Press A to publish a light intensity data to KittenBot IoT.

Manually publish “happy” or “sad” on KittenBot IoT, Micro:bit will display a corresponding icon.

../../_images/kittenbot_41.png

Sample Program

Extension Version and Updates

There may be updates to extensions periodically, please refer to the following link to update/downgrade your extension.

Makecode Extension Update