Skip to content

Instantly share code, notes, and snippets.

@ics-ikeda
Last active May 30, 2018 11:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ics-ikeda/746b291cf4288ac66f50 to your computer and use it in GitHub Desktop.
Save ics-ikeda/746b291cf4288ac66f50 to your computer and use it in GitHub Desktop.

テスト

// 起動時に一度実行されます
void setup() {
  // デジタル13番ピンを出力用として設定
  pinMode(13, OUTPUT);
}

// 起動中の間繰り返し実行されます
void loop() {
  // デジタル13番ピンをHIGHに変更
  digitalWrite(13, HIGH);
  // 1秒止める
  delay(1000);
  // デジタル13番ピンをLOWに変更
  digitalWrite(13, LOW);
  // 1秒止める
  delay(1000);
}
<?php
echo "piyo";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment