mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 17:46:19 +00:00
24 lines
527 B
Python
24 lines
527 B
Python
# SPDX-License-Identifier: MIT
|
|
# Copyright (c) 2020 The Pybricks Authors
|
|
|
|
from typing import Any
|
|
|
|
def wait(time: int) -> None: ...
|
|
|
|
class StopWatch:
|
|
def time(self) -> int: ...
|
|
def pause(self) -> None: ...
|
|
def resume(self) -> None: ...
|
|
def reset(self) -> None: ...
|
|
|
|
class DataLog:
|
|
def __init__(
|
|
self,
|
|
*headers: str,
|
|
name: str = "log",
|
|
timestamp: bool = True,
|
|
extension: str = "csv",
|
|
append: bool = False
|
|
): ...
|
|
def log(self, *values: Any) -> None: ...
|