Welcome! This is my solution for the arduino to create a timer. Keep in mind that the oscillator of the arduino is not very preciced and will differ after a few hours. Feel free to use it anywere in ...
ArduinoUnoで定刻になったら処理をするプログラムを作りたかった。 そこでシステム時刻を取得したかったけど方法がわからんので、millis()関数を使って疑似的に作った。 スケッチブックディレクトリに上記のソースファイルを配置する。 あとは使用例のよう ...