From 7c51f968af3bbab3240d5707d83fe3c06c1847a4 Mon Sep 17 00:00:00 2001 From: Karan Misra Date: Sat, 12 Apr 2014 10:16:35 +0530 Subject: [PATCH] doc: make the LED example unambiguous --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9feab74..9ef2727 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ Use the **LED** driver to toggle LEDs on the BBB: embd.InitLED() defer embd.CloseLED() ... - led, err := embd.NewLED("USR3") + led, err := embd.NewLED(3) ... led.Toggle() @@ -112,7 +112,7 @@ Even shorter while prototyping: ... embd.ToggleLED(3) -NB: **3** == **USR3** for all intents and purposes. The driver is smart enough to figure all this out. +**3** is the same as **USR3** for all intents and purposes. The driver is smart enough to figure all this out. BBB + **PWM**: