You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35-21Lines changed: 35 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
# WiringPi Library
2
+
2
3
Welcome to the WiringPi Library, the highly performant GPIO access library for Raspberry Pi boards. This library is written in C and is designed to provide fast and efficient control of the GPIO pins by directly accessing the hardware registers using DMA.
3
4
4
-
**Key Features:**
5
+
**Key Features:**
6
+
5
7
-**Support:** WiringPi supports all Raspberry Pi Boards including Pi 5 ( :construction: On the Pi 5, only the GCLK functionality is currently not supported due to missing documentation of the RP1 chip).
6
8
-**High Performance:** By directly accessing the hardware registers, WiringPi ensures minimal latency and maximum performance for your GPIO operations.
7
9
-**Wide Adoption:** WiringPi is widely used in numerous projects, making it a reliable choice for your Raspberry Pi GPIO needs.
@@ -50,9 +52,23 @@ cd examples
50
52
make <example-name | really-all>
51
53
```
52
54
53
-
The tool `gpio` can be used to set single pins as well as get the state of everything at once:
55
+
To use WiringPi in a project with CMake, the following snippet is all that is required provided that WiringPi is installed.
56
+
57
+
```CMake
58
+
add_executable(example
59
+
# project sources...
60
+
)
54
61
62
+
target_link_libraries(
63
+
example
64
+
65
+
PRIVATE wiringPi
66
+
)
55
67
```
68
+
69
+
The tool `gpio` can be used to set single pins as well as get the state of everything at once:
@@ -156,9 +170,9 @@ Please don't email GC2 for reporting issues, you might [contact us](mailto:wirin
156
170
157
171
This repository is the continuation of 'Gordon's wiringPi 2.5' which has been [deprecated](https://web.archive.org/web/20220405225008/http://wiringpi.com/wiringpi-deprecated/), a while ago.
158
172
159
-
* The last "old wiringPi" source of Gordon's release can be found at the
173
+
- The last "old wiringPi" source of Gordon's release can be found at the
* The default `master` branch contains code that has been written since version 2.5
175
+
- The default `master` branch contains code that has been written since version 2.5
162
176
to provide support for newer hardware as well as new features.
163
177
164
178
:information_source:️ Since 2024, [GC2](https://github.com/GrazerComputerClub) has taken over maintenance of the project, supporting new OS versions as well as current hardware generations. We are dedicated to keeping the arguably best-performing GPIO Library for Raspberry Pi running smoothly. We strive to do our best, but please note that this is a community effort, and we cannot provide any guarantees or take responsibility for implementing specific features you may need.
0 commit comments