初始化提交

This commit is contained in:
王立帮
2024-07-20 22:09:06 +08:00
commit c247dd07a6
6876 changed files with 2743096 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
// Arduino RBD Timer Library v1.4.0 Example - A three second interval timer that prints to serial.
// https://github.com/alextaujenis/RBD_Timer
// Copyright (c) 2015 Alex Taujenis - MIT License
#include <RBD_Timer.h> // https://github.com/alextaujenis/RBD_Timer
RBD::Timer timer;
void setup() {
Serial.begin(115200);
timer.setTimeout(3000);
timer.restart();
}
void loop() {
if(timer.onRestart()) {
Serial.println("Three seconds passed");
}
}