2016年3月27日 星期日

Hello world! for Arduino.


/*
  *Hello World! *
  * This is the Hello World! for Arduino.
   * It shows how to send data to the computer
*/
void setup()   // run once, when the sketch starts
{
Serial.begin(9600);
}  // set up Serial library at 9600 bps
void  loop()  // run over and over again
{
Serial.println("Hello world! for Arduino.  ");
// prints hello with ending line break }
Delay (500);    //delay 500ms

 }

沒有留言:

張貼留言

2024產專班 作業2 (純模擬)

2024產專班 作業2  (純模擬) 1) LED ON,OFF,TIMER,FLASH 模擬 (switch 控制) 2)RFID卡號模擬 (buttom  模擬RFID UID(不從ESP32) Node-Red 程式 [{"id":"d8886...