Update README.md

This commit is contained in:
Ragnar Jensen 2020-05-24 10:51:28 +02:00 committed by GitHub
parent ba7b8d12b7
commit f19f87e4b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ netledPi blinks a LED connected to a GPIO pin when there is activity on any netw
actledPi blinks the Pi's ACT led on all mass storage I/O, i.e. not only the SD card. actledPi blinks the Pi's ACT led on all mass storage I/O, i.e. not only the SD card.
netledPi and hddledPi make use of Gordon Henderson's wiringPi library - wiringpi.com - so you have to have that installed in order to build the programs. Current versions of Raspbian come with wiringPi already installed. netledPi and hddledPi make use of Gordon Henderson's wiringPi library - wiringpi.com - so you have to have that installed in order to build the programs. Current versions of Raspbian come with wiringPi already installed.
EDIT 2020-05-19: It seems like the Pi 4B needs WiringPi 2.52. At the time of writing this, Raspbian comes with 2.50, i.e. you'll have to update WiringPi if you are on a Pi 4B. http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/ **EDIT 2020-05-19: It seems like the Pi 4B needs WiringPi 2.52. At the time of writing this, Raspbian comes with 2.50, i.e. you'll have to update WiringPi if you are on a Pi 4B.** http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/
Building the programs is easy: Building the programs is easy:
gcc -Wall -O3 -o netledPi netledPi.c -lwiringPi gcc -Wall -O3 -o netledPi netledPi.c -lwiringPi