📜  pros millis() - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:45.165000             🧑  作者: Mango

代码示例1
void opcontrol() {
  std::uint32_t now = pros::millis();
  while (true) {
    // Do opcontrol things
    pros::Task::delay_until(&now, 2);
  }
}