Blinking Pi Zero Activity LED

10 views
Skip to first unread message

Mark Wilson

unread,
Nov 27, 2017, 2:42:43 PM11/27/17
to Pi4J
Hi,

I have been reading that it is possible to turn on and off the activity LED on the Pi Zero (the one that flashes when the SD card is used) by turning on and off pin 47:

e.g.

gpio -g write 47 0 (turns the LED ON)

gpio -g write 47 1 (turns the LED OFF)


However the version of pi4j (1.2 snapshot) that I am using does not appear to define Broadcom Pin GPIO_47 (e.g. RaspiBcmPin.GPIO_47)


Am I missing something?



It would be nice to be able to blink the Activity and Power LED (where available) from wiring pi, and determine what model I am running on.


Thanks - Mark


Reply all
Reply to author
Forward
0 new messages