LoginSignup
9
12

More than 5 years have passed since last update.

Raspberry Piの電源ランプを点滅させて電源オンオフをわかりやすくする

Posted at

RaspberryPiは電源が付いてるときも消えてるときもコードが刺さっていれば赤色ランプが点きっぱで分かりづらいので、電源オン時は点滅、電源オフ時は常点灯という形にしてみる。

点灯形式を変えるには/boot/config.txtを編集すれば良い。
ということでsudo nano /boot/config.txtとかで開いて下記を追記する。

/boot/config.txt
# 電源ランプを点滅させる
dtparam=pwr_led_trigger=heartbeat

あとはラズパイを再起動すれば設定完了。

9
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
12