Skip to content

Instantly share code, notes, and snippets.

@TakehikoShimojima
Last active February 20, 2018 04:50
Show Gist options
  • Save TakehikoShimojima/6ac26ddf3dd3f7f981ca8bdece4e8905 to your computer and use it in GitHub Desktop.
Save TakehikoShimojima/6ac26ddf3dd3f7f981ca8bdece4e8905 to your computer and use it in GitHub Desktop.
void setup() {
センサを初期化();
センサ値を測定();
Wi-Fiアクセスポイントに接続();
サーバに接続し、センサ値を送信();
DeepSleep(指定時間); // この後Deep Sleepし、指定時間経過後、setup()から再実行
}
void loop() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment