[Long battery life] A talking clock with Arduino and voice synthesizing LSI

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024

ความคิดเห็น • 3

  • @sotobotech5920
    @sotobotech5920  2 หลายเดือนก่อน

    1か月使用したら,3分ほど時刻がずれました。
    Talking_Clock.ino をそのままもう一回 IDE で書き込めば時刻が更新されると思っていたのですが,そうではありませんでした。
    時刻合わせは以下のsketchを1回だけ書き込みます。
    After one month of use, the time was off by about 3 minutes.
    I thought that if I wrote Talking_Clock.ino one more time by the IDE, the time would be updated, but that was not the case.
    To set the time, write the following sketch only once.
    // Talking_Clock_Adjust_Time.ino
    //
    // 時間合わせのためこれを1回だけ実行する。実行後もとの Talking_Clock.ino を書き戻す
    // This should be done only once to adjust the time. After execution, Talking_Clock.ino must be rewritten.
    //
    ・・・
    //-------------- Talking_Clock.ino のこの部分を (Rewrite this part of Talking_Clock.ino ...) ------------
    if (! rtc.isrunning()) {
    Serial.println("RTC is NOT running, let's set the time!");
    rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));
    }
    //-------------- こう書き換える (like this) ---------------------------------------------------------------
    // if (! rtc.isrunning()) {
    // Serial.println("RTC is NOT running, let's set the time!");
    rtc.adjust(DateTime(F(__DATE__), F(__TIME__)));
    // }

  • @作るんです
    @作るんです 3 หลายเดือนก่อน +1

    SSD1306の表示方向はソフトウエアで変更可能なので物理的にひっくり返さなくても変えられますよ。

    • @sotobotech5920
      @sotobotech5920  3 หลายเดือนก่อน

      そうなんですね。思い至りませんでした。