> For the complete documentation index, see [llms.txt](https://docs.haohaodada.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.haohaodada.cn/jiao-xue-chan-pin/hao-da-bit/kittenblock.md).

# KittenBlock

1.将好搭Bit通过USB线与电脑连接，按下POWER键开机，电脑检测到名为MICROBIT的U盘。

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LqopZn0tGOgYA1yPSh4%2F-LqopgafuoqQtXbQFBy8%2Fmakecode-bit-7.png?alt=media\&token=da1902b3-4a15-479a-b828-0d1a4e65a632)

2.下载下方文件，拖放到好搭Bit中。

{% file src="/files/-LqorAFDS4gGJjw0yYGl" %}

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LqopZn0tGOgYA1yPSh4%2F-LqoqsJ8DGPop-2zmdna%2Fscratch3-bit-10.png?alt=media\&token=1aa7800a-3698-4fef-a206-541229aa3753)

3.安装scratch link（未安装可[点击此处](https://scratch.mit.edu/microbit)下载）。启动Scratch Link并确认它正在运行。工具栏中会出现小图标。

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LqopZn0tGOgYA1yPSh4%2F-LqorSaqDfzoO3vBJl13%2Fscratch3-bit-8.png?alt=media\&token=118572fd-9bc1-4c36-9492-d05da22be331)

4.打开KittenBlock离线版软件，点击添加扩展。

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LqovxsOKC808QbDtAeT%2F-LqowrAHL3WMBh4C6DSv%2Fkitten-bit-3.png?alt=media\&token=26ac7202-40f8-40c4-8836-84109f0d7eb7)

5.选择microbit添加到项目。

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LqovxsOKC808QbDtAeT%2F-Lqowc6V8tjjU_FF3BOA%2Fkitten-bit-4.png?alt=media\&token=4a35c26a-38fa-4266-b624-790eef25c7d1)

6.连接设备。

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LqopZn0tGOgYA1yPSh4%2F-Lqot4b_vnL3bk5bM2Mo%2Fscratch3-bit-3.png?alt=media\&token=7c3efba1-2d61-45a5-be37-32728896bac8)

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LqopZn0tGOgYA1yPSh4%2F-LqotDj-Bcpcs5_Mpn4a%2Fscratch3-bit-4.png?alt=media\&token=e54b8d53-cb47-4e21-a5a0-e637c7f32753)

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LqopZn0tGOgYA1yPSh4%2F-LqotKCEgxmHuhI6ARM5%2Fscratch3-bit-5.png?alt=media\&token=b8068904-c1fb-4188-9a49-84d30e93b5fb)

连接设备成功后，返回编辑器，项目中包含microbit扩展。

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LqovxsOKC808QbDtAeT%2F-LqowWAmXqA2q0YXUUu6%2Fkitten-bit-5.png?alt=media\&token=61c062ae-38e0-41d0-aeec-fcd5e72d917b)

7.编写程序，对好搭Bit实时控制。

&#x20;示例程序1：

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LqovxsOKC808QbDtAeT%2F-LqowMizz8k3Ld7Oh5kI%2Fkitten-bit-2.png?alt=media\&token=3916c52b-be97-431a-8654-97ed162ffb0b)

&#x20;点击图形快，好搭Bit点阵屏滚动显示Hello！。

&#x20;示例程序2：&#x20;

![](https://3988445729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LWF1jkbOkV3Cs8uqgVf%2F-LqovxsOKC808QbDtAeT%2F-Lqow7kIPsB2dO3auBM1%2Fkitten-bit-1.png?alt=media\&token=534bab28-f3c4-4c45-9a8b-0866c8125a1d)

点击右侧小绿旗，好搭Bit点阵屏显示爱心图案。
