Using added LEDs to mimic status lights - Raspberry Pi Forums


apologies if posted in wrong place , should posting directly under raspbian section rather python.

have been learning basics of python programming, lighting leds breadboard etc.

have project have built own case hide pi unable see onboard status leds.

want connect own leds mimic on board ones. power, lan, accessing sd card etc.

can point me in right direction of tutorial? or in direction of coding onboard leds can attempt work out.

thank you

i don't think there easy way that. led code written in c , built linux kernel.

can use device tree entries in /boot/config.txt file move of functionality of act , pwr leds other gpio pins. here's example

code: select all

dtparam=act_led_gpio=23 dtparam=pwr_led_gpio=24 
(i think second 1 works)
make gpio 23 (pin 16) act led pin , gpio 24 (pin 18) pwr led.


raspberrypi



Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support