diff options
author | danicampora <daniel@wipy.io> | 2015-10-21 11:06:26 +0200 |
---|---|---|
committer | danicampora <daniel@wipy.io> | 2015-10-21 15:30:57 +0200 |
commit | ee0058d17474bd9b01b09ec90d70c557c81b6d1a (patch) | |
tree | 185fdbb17a6b213dbe262f79c0e9b481b1fdf824 /docs/library/machine.Timer.rst | |
parent | 1f2daf430410c7c8a05026ccab4b047bb928fbdc (diff) |
docs: Remove remaining references to 'af', which is now 'alt'.
Diffstat (limited to 'docs/library/machine.Timer.rst')
-rw-r--r-- | docs/library/machine.Timer.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/machine.Timer.rst b/docs/library/machine.Timer.rst index 5d357ca07..8464c7b36 100644 --- a/docs/library/machine.Timer.rst +++ b/docs/library/machine.Timer.rst @@ -31,7 +31,7 @@ class Timer -- control internal timers tim = Timer(1, mode=Timer.PERIODIC) tim_a = tim.channel(Timer.A, freq=1000) - led = Pin('GPIO2', af=0, mode=Pin.OUT) + led = Pin('GPIO2', mode=Pin.OUT) def tick(timer): # we will receive the timer object when being called print(timer.time()) # show current timer's time value (is microseconds) |