跳转到内容

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 本作品采用知识共享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
    }
    

    说明

    添加一行文字以描述该文件所表现的内容

    此文件中描述的项目

    描繪內容

    16 1 2018

    89ca476b1921fabcd46ed2f8fea0c590b2192b0e

    273,755 字节

    1,234 像素

    1,482 像素

    文件历史

    点击某个日期/时间查看对应时刻的文件。

    日期/时间缩⁠略⁠图大小用户备注
    当前2018年1月16日 (二) 01:282018年1月16日 (二) 01:28版本的缩略图1,482 × 1,234​(267 KB)Cedar101User created page with UploadWizard

    以下页面使用本文件:

    全域文件用途

    以下其他wiki使用此文件:

    元数据