aboutsummaryrefslogtreecommitdiff
path: root/docs/library/machine.Timer.rst
diff options
context:
space:
mode:
authordanicampora <daniel@wipy.io>2015-10-21 11:06:26 +0200
committerdanicampora <daniel@wipy.io>2015-10-21 15:30:57 +0200
commitee0058d17474bd9b01b09ec90d70c557c81b6d1a (patch)
tree185fdbb17a6b213dbe262f79c0e9b481b1fdf824 /docs/library/machine.Timer.rst
parent1f2daf430410c7c8a05026ccab4b047bb928fbdc (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.rst2
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)