選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

11 行
85 B

  1. #!/bin/bash
  2. PIN_PIR=3
  3. # init
  4. gpio mode $PIN_PIR input
  5. # read
  6. gpio read $PIN_PIR