Raspberry Pi

De la YO3ITI
Salt la: navigare, căutare


Boot și configurare inițială





Oops - unable to determine board type... model: 17

cd /tmp/
wget https://project-downloads.drogon.net/wiringpi-latest.deb

--2020-07-24 23:25:40--  https://project-downloads.drogon.net/wiringpi-latest.deb
Resolving project-downloads.drogon.net (project-downloads.drogon.net)..., 2a03:9800:10:7b::2
Connecting to project-downloads.drogon.net (project-downloads.drogon.net)||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 52260 (51K) [application/x-debian-package]
Saving to: ‘wiringpi-latest.deb’

wiringpi-latest.deb            100%[=================================================>]  51.04K  --.-KB/s    in 0.1s    

2020-07-24 23:25:40 (374 KB/s) - ‘wiringpi-latest.deb’ saved [52260/52260]

tom@raspberrypi:/tmp $ sudo dpkg -i wiringpi-latest.deb

(Reading database ... 99027 files and directories currently installed.)
Preparing to unpack wiringpi-latest.deb ...
Unpacking wiringpi (2.52) over (2.50) ...
Setting up wiringpi (2.52) ...
Processing triggers for man-db (2.8.5-2) ...

tom@raspberrypi:/tmp $ gpio -v
gpio version: 2.52
Copyright (c) 2012-2018 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty

Raspberry Pi Details:
  Type: Pi 4B, Revision: 02, Memory: 4096MB, Maker: Sony 
  * Device tree is enabled.
  *--> Raspberry Pi 4 Model B Rev 1.2
  * This Raspberry Pi supports user-level GPIO access.