diff options
author | Damien George <damien.p.george@gmail.com> | 2018-07-04 11:56:36 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-07-17 13:36:36 +1000 |
commit | 46091b8a9572c67b817aeea1f9c4c39dc41e6aac (patch) | |
tree | cca2f43806ff38bc2e2fed443f0572da85d7e5c5 /docs/library/pyb.Timer.rst | |
parent | 821b59d439b40566cd8af5c1f45ba32a355960b6 (diff) | |
download | micropython-46091b8a9572c67b817aeea1f9c4c39dc41e6aac.tar.gz micropython-46091b8a9572c67b817aeea1f9c4c39dc41e6aac.zip |
stm32/timer: Add tick_hz arg to Timer constructor and init method.
The period of the timer can now be specified using the "period" and
"tick_hz" args. The period in seconds will be: period/tick_hz. tick_hz
defaults to 1000, so if period is specified on its own then it will be in
units of milliseconds.
Diffstat (limited to 'docs/library/pyb.Timer.rst')
0 files changed, 0 insertions, 0 deletions