Files
TencentOS-tiny/components/language/micropython/tests/pyb/pyb_f411.py
2022-09-29 12:10:37 +08:00

10 lines
148 B
Python

# test pyb module on F411 MCUs
import os, pyb
if not "STM32F411" in os.uname().machine:
print("SKIP")
raise SystemExit
print(pyb.freq())