mirror of
https://github.com/kou029w/chirimen-hands-on.git
synced 2025-01-18 08:05:05 +00:00
use chirimen panel
This commit is contained in:
parent
977b4e6b62
commit
1241a47f20
1 changed files with 4 additions and 0 deletions
|
@ -149,6 +149,10 @@ CHIRIMEN panel > setup CHIRIMEN
|
|||
|
||||
## サンプルコードの実行
|
||||
|
||||
CHIRIMEN panel > Get Examples > hello-real-world (L チカ) > JS GET
|
||||
|
||||
または
|
||||
|
||||
```js
|
||||
import { requestGPIOAccess } from "node-web-gpio"; // WebGPIO を使えるようにするためのライブラリをインポート
|
||||
const sleep = (msec) => new Promise((resolve) => setTimeout(resolve, msec)); // sleep 関数を定義
|
||||
|
|
Loading…
Add table
Reference in a new issue