This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo nano blink.c | |
| Tìm và thay thế #define LED 0 bằng dòng sau #define LED 1 | |
| Nhấn Ctrl + O, Enter và Ctrl + X để lưu và thoát khỏi trình Editor | |
| Biên dịch chương trình bằng lệnh sau: gcc -Wall -o blink blink.c -lwiringPi | |
| Chay chương trình bằng lệnh sau: sudo ./blink |
NewerOlder