We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6753cd7 commit e5c07c2Copy full SHA for e5c07c2
preprocessed-site/posts/2019/hiw-copilot.md
@@ -77,7 +77,7 @@ Copilotの言葉はこれを`Stream`と呼んでいます。
77
👆の場合、`ctemp`という`Stream`が`18.0`を下回ったら`heaton`というイベントを発火し、`21.0`を超えたら`heatoff`というイベントを発火する、と定めているわけですね。
78
そして`main`関数で実行している`reify spec >>= compile "heater"`という箇所で、`.h`ファイルと`.c`ファイルを書き込んでいます。
79
80
-そして、生成されたヘッダーファイルがこう👇
+そして、生成されたヘッダーファイル`heater.h`がこう👇
81
82
```c:heater.h
83
extern uint8_t temperature;
@@ -86,7 +86,7 @@ void heaton(float heaton_arg0);
86
void step(void);
87
```
88
89
-で、肝心のCのコード本体がこちらです。
+で、肝心のCのコード本体`heater.c`がこちらです。
90
91
```c:heater.c
92
#include <stdint.h>
0 commit comments