pyb_f405.py 180 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
# test pyb module on F405 MCUs

import os, pyb

if not 'STM32F405' in os.uname().machine:
    print('SKIP')
    import sys
    sys.exit()

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