From ee0058d17474bd9b01b09ec90d70c557c81b6d1a Mon Sep 17 00:00:00 2001 From: danicampora Date: Wed, 21 Oct 2015 11:06:26 +0200 Subject: docs: Remove remaining references to 'af', which is now 'alt'. --- docs/library/machine.Timer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/library') 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) -- cgit v1.2.3