diff options
author | Damien George <damien.p.george@gmail.com> | 2014-10-04 14:36:39 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-10-05 17:52:44 +0100 |
commit | 97ef94df83238e58fd7a084c3ca0e8af164136e0 (patch) | |
tree | e5a7cfe8439501711bf3610ebe1b311b9bb7a601 /py/parsehelper.h | |
parent | c3ab90da466e2c4479c9c1865f4302c9c8bdb8e9 (diff) | |
download | micropython-97ef94df83238e58fd7a084c3ca0e8af164136e0.tar.gz micropython-97ef94df83238e58fd7a084c3ca0e8af164136e0.zip |
stmhal, timer: Set freq from float; get timer source freq.
Timers now have the following new features:
- can init freq using floating point; eg tim.init(freq=0.1)
- tim.source_freq() added to get freq of timer clock source
- tim.freq() added to get/set freq
- print(tim) now prints freq
Diffstat (limited to 'py/parsehelper.h')
0 files changed, 0 insertions, 0 deletions