Files
dragonpilot/panda/tests/rtc_test.py
Comma Device 5c73e264e9 Release 260308
2026-03-08 23:26:57 +08:00

14 lines
290 B
Python
Executable File

#!/usr/bin/env python
import os
import sys
import datetime
sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), ".."))
from panda import Panda # noqa: E402
if __name__ == "__main__":
p = Panda()
p.set_datetime(datetime.datetime.now())
print(p.get_datetime())