今天开始做实验,啦啦~学生党也要抽出时间学呀!加油!
登陆:
sunzhimindembp:src sunzhimin$ ssh [email protected]
先输入:
ssh:代表协议,我可以编辑.
Pi:用户名
@192.158.199.164:上ip地址192.168.199.164
上去了,会有:
[email protected]'s password:
输密码,都看不到呢!
Ls: 查文件:abc bcm2835-1.25 Desktop python_games wiringPi
a.out demo.tar ocr_pi.png waveshare_demo x.cpp
pwd:在哪:/home/pi
pi是普通用户,root升级为超级用户。
[email protected]'s password:
输密码,还是看不到。
成为超级用户后,我们要运行,
root@raspberrypi:~# ls
root@raspberrypi:~#
root@raspberrypi:~#
root@raspberrypi:~# pwd
/root
root@raspberrypi:~# cd /home/pi
root@raspberrypi:/home/pi# ls
abc bcm2835-1.25 Desktop python_games wiringPi
a.out demo.tar ocr_pi.png waveshare_demo x.cpp
root@raspberrypi:/home/pi# cd w
waveshare_demo/ wiringPi/
root@raspberrypi:/home/pi# ls
abc bcm2835-1.25 Desktop python_games wiringPi
a.out demo.tar ocr_pi.png waveshare_demo x.cpp
root@raspberrypi:/home/pi# cd waveshare_demo/
root@raspberrypi:/home/pi/waveshare_demo# ls
8 Push Buttons_JOYSTICK distance IRM LCD22 UART
AT45DBXX DS18B20 LCD12864 LED y.py
Buzzer_PWM init_raspi LCD1602 PCF8574 z.py
root@raspberrypi:/home/pi/waveshare_demo# cd LED
root@raspberrypi:/home/pi/waveshare_demo/LED# ls
led led2.c led.c led.c.old led.o Makefile
root@raspberrypi:/home/pi/waveshare_demo/LED# ./led
^C