I hacked above code into the cmd but nothing happens.
Then I followed this guide to make sure the LED is working at all.
And it does. The LED is wired correctly and lights up.
I just can’t manage to get the heartbeat working.
Instructions are also confusing.
Many are old, and don’t work on the P3B+.
Some posts even state it worked on one Pi and not on the other of the same make!?
Somewhere I found it might be related to kernel options!? Could it be?
Will this work with the m2p image (kernel) at all and what am I doing wrong?
This is how it works.
Edit /boot/config.txt and add this:
# Redirect activity LED to an external LED connected to GPIO5
dtoverlay=pi3-act-led,gpio=5
dtparam=act_led_trigger=heartbeat
# Disable PWR LED
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off
I disabled the power LED also on that occasion.
This thread can be considered solved.