Skip to content

Gigi-G/RaspberryPi4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi 4

In this repository you can find some example to use the GPIO line of the Raspberry Pi 4.

How to use them?

  1. Install libgpiod following the official guide in this link: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree

  2. Compile using the following command:

    gcc -lgpiod <name>.c
  3. Try it:

    ./a.out

BlinkLED

If you are new in Raspberry, you can start from this. It is a simple program where the led is setting on and off 20 times.

About

Start learning Raspberry's hardaware.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages