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
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 (i think second 1 works)
make gpio 23 (pin 16) act led pin , gpio 24 (pin 18) pwr led.
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
make gpio 23 (pin 16) act led pin , gpio 24 (pin 18) pwr led.
raspberrypi
Comments
Post a Comment