跳至內容

File:Arduino IDE - Blink.png

頁面內容不支援其他語言。
這個檔案來自維基共享資源
維基百科,自由的百科全書
    原始檔案 (1,482 × 1,234 像素,檔案大小:267 KB,MIME 類型:image/png)


    摘要

    描述
    English: Arduino IDE 1.8.5 on macOS 10.13
    日期
    來源 Blink. docs.arduino.cc. Retrieved on 2025-11-18.
    作者 Cedar101

    授權條款

    Cedar101,此作品的版權所有人,決定用以下授權條款發佈本作品:
    Creative Commons CC-Zero 此檔案於創用 CC CC0 1.0 通用公有領域貢獻宣告下分發。
    在此宣告之下分發本作品者,已依據各國著作權法,在全世界放棄其對本作品所擁有的著作權及所有相關相似的法律權利,從而將本作品貢獻至公有領域。您可以複製、修改、分發和演示該作品,用於任何商業用途,所有這些都不需要請求授權。

    Source code

    /*
      Blink
    
      Turns an LED on for one second, then off for one second, repeatedly.
    
      Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
      it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
      the correct LED pin independent of which board is used.
      If you want to know what pin the on-board LED is connected to on your Arduino
      model, check the Technical Specs of your board at:
      https://www.arduino.cc/en/Main/Products
    
      modified 8 May 2014
      by Scott Fitzgerald
      modified 2 Sep 2016
      by Arturo Guadalupi
      modified 8 Sep 2016
      by Colby Newman
    
      This example code is in the public domain.
    
      http://www.arduino.cc/en/Tutorial/Blink
    */
    
    // the setup function runs once when you press reset or power the board
    void setup() {
      // initialize digital pin LED_BUILTIN as an output.
      pinMode(LED_BUILTIN, OUTPUT);
    }
    
    // the loop function runs over and over again forever
    void loop() {
      digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
      delay(1000);                       // wait for a second
      digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
      delay(1000);                       // wait for a second
    }
    

    說明

    添加單行說明來描述出檔案所代表的內容

    在此檔案描寫的項目

    描繪內容

    創作作者 中文 (香港) (已轉換拼寫)

    沒有維基數據項目的某些值

    維基媒體使用者名稱 繁體中文 (已轉換拼寫):Cedar101
    作者姓名字串 中文 (香港) (已轉換拼寫):Cedar101

    版權狀態 中文 (香港) (已轉換拼寫)

    多媒體型式 繁體中文 (已轉換拼寫)

    image/png

    校驗和 繁體中文 (已轉換拼寫)

    89ca476b1921fabcd46ed2f8fea0c590b2192b0e

    資料大小 中文 (香港) (已轉換拼寫)

    273,755 位元組

    1,234 像素

    1,482 像素

    檔案歷史

    點選某个日期/時間檢視對應時刻的檔案。

    日期/時間縮⁠圖大小用戶備⁠註
    目前2018年1月16日 (二) 01:28於 2018年1月16日 (二) 01:28 版本的縮圖1,482 × 1,234​(267 KB)Cedar101User created page with UploadWizard

    下列頁面有用到此檔案:

    全域檔案使用狀況

    以下其他wiki使用了這個檔案:

    詮釋資料