summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/pyb.Timer.rst
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-07-04 11:56:36 +1000
committerDamien George <damien.p.george@gmail.com>2018-07-17 13:36:36 +1000
commit46091b8a9572c67b817aeea1f9c4c39dc41e6aac (patch)
treecca2f43806ff38bc2e2fed443f0572da85d7e5c5 /docs/library/pyb.Timer.rst
parent821b59d439b40566cd8af5c1f45ba32a355960b6 (diff)
downloadmicropython-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