树莓派zero2w PWR LED设置为ACT LED (硬盘灯) Raspberry Pi zero2w PWR LED is set to ACT LED (hard drive light)

本文讲述了如何修改Raspberry Pi Zero W的配置文件,将电源LED常亮改为仅在SD卡读写活动时亮起,以获得更直观的硬盘指示效果。通过调整`config.txt`,实现与传统台式机硬盘指示灯一致的行为。

树莓派zero2w只有一个LED灯,充当两个功能,分别是电源PWR(常亮)和SD卡读写ACT

具体表现是,上电后LED会亮起来,SD卡有读写就闪烁.

根据官方的文档,说这个LED是反方向的LED,也就是说,SD卡活动的时候灯会灭掉,不活动的时候会常亮.

我个人非常不喜欢这种粘合效果,所以需要去掉电源常亮,只有SD卡活动的时候才亮起的效果,也就是和传统台式机硬盘指示灯一样的效果.

Raspberry Pi zero2w has only one LED , which serves as two functions, namely power supply PWR (constant light) and SD card activit(read or write) ACT

The LED will light up after power on, and the SD card will flash when it is read ro written.

According to the official document, this LED is the reverse direction LED,it means the light will light when the SD card is active, and it will always be turn off when it is not active.

I personally don't like this bonding effect very much, so I need to remove the power supply (PWR LED) and the effect that only turn on when the SD card is active, which is the same effect as the traditional desktop hard drive indicator.

Modify the configuration file /boot/config.txt and add t

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值