Hallo, ich hab heute versucht WiringPi zu installieren und dabei ist das hier passiert
Code
pi@raspberrypi ~ $ git clone git://git.drogon.net/wiringPi
fatal: destination path 'wiringPi' already exists and is not an empty directory.
pi@raspberrypi ~ $ cd wiringpi
-bash: cd: wiringpi: No such file or directory
pi@raspberrypi ~ $ cd wiringpi
-bash: cd: wiringpi: No such file or directory
pi@raspberrypi ~ $ cd wiringpi^C
pi@raspberrypi ~ $ sudo su
root@raspberrypi:/home/pi# git clone git:git.drogon.net/wiringpi
Cloning into 'wiringpi'...
ssh: Could not resolve hostname git: Name or service not known
fatal: The remote end hung up unexpectedly
root@raspberrypi:/home/pi# git clone git:git.drogon.net/wiringpi
Cloning into 'wiringpi'...
ssh: Could not resolve hostname git: Name or service not known
fatal: The remote end hung up unexpectedly
root@raspberrypi:/home/pi# cd wiringpi
bash: cd: wiringpi: No such file or directory
root@raspberrypi:/home/pi#
Alles anzeigen
Und ich habe noch ein paar fragen zu GPIO und zwar muss man den ja mit ner Zahl benennen bei mir sind aber ingesamt 3 Stecker im GPIO Board drin für ein Gerät welche davon soll ich den jetzt nehmen?
Und wie setzt man das Ergebniss eines Sudos in eine Variable? if sudo xyz == red print "Die Matrix funktioniert so.."
UND noch eine Frage muss man für ein return einen Standpunkt setzen wie goto ?
Oder geht er dann einfach an den anfang.
Wer alles beantwortet kriegt einen Keks. Sorry falls falsches Topic