> For the complete documentation index, see [llms.txt](https://sharinghub.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub.kittenbot.hk/mcu/meowbit/coding/meowbit_temp.md).

# Meowbit的溫度感應器

Meowbit上搭載了溫度感應器，可以檢測環境溫度。

### MakeCode Arcade編程教學

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

#### 載入控制器插件

#### [詳細方法](https://kittenbothk.readthedocs.io/en/latest/Makecode/powerBrickMC.html)

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

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

#### 控制器積木塊

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

#### 探測溫度數值編程

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

小鴨會一直說出現時的溫度數值。

[參考程式](https://makecode.com/_0RVU8sirC9hM)

### Kittenblock編程教學

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

#### 探測光度數值編程

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

小貓會一直說出現時的溫度數值。
