summaryrefslogtreecommitdiff
path: root/tests/pyb/pyb_f405.py
blob: 6ca943dcea2e6106828fb2f413dbeb83826f198e (plain)
1
2
3
4
5
6
7
8
9
10
# test pyb module on F405 MCUs

import os, pyb

if not "STM32F405" in os.uname().machine:
    print("SKIP")
    raise SystemExit

print(pyb.freq())
print(type(pyb.rng()))