Skip to main content

Featured Post

Product Design of a 4 wheel differential drive robot

GPIO Blink an LED using C - BeagleBoneBlack

First enable gpio23 and set it as output.

echo 23 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio23/direction

(Refer this page for circuit info.) Then compile this code and run it. There are two arguments to this code. One is the number of times the LED blinks and the other one is the delay in us.


Comments