Description
Exercise 12
已開始: 10⽉18⽇ 18:51
測驗說明
問題 1 50 分數
Modify the /boot/config.txt file by adding a line right after the line: #dtoverlay=gpioir-tx,gpio_pin=18
Your line should be: dtoverlay=gpio-led,gpio=17
Then you should reboot, go to the directory /sys/class/leds/myled1, and do the
following two commands to turn on and off your LED attached to gpio17 (pin 6
down from the top left, with the top of your Pi being the SD card reader):
echo 1 > brightness
echo 0 > brightness
Submit two pictures. Both must show the terminal window and the Pi+LED all in
the same picture. See my example pictures below. One should show echo 1 >
brightness entered in the terminal and the LED on. The other should show echo 0
> brightness entered in the terminal and the LED off.
Submit the on screenshot to this question and the off screenshot to the second
question.
測驗保存於 19:40
上傳 選擇檔案
問題 2 50 分數
上傳
Upload off screenshot here.
選擇檔案
提交測驗
Reviews
There are no reviews yet.