microbit: correct example pin mappings

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-04-15 18:42:37 +02:00
parent e43f1d6780
commit 9a2cc0b15b
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ func main() {
}
robot := gobot.NewRobot("bot",
[]gobot.Connection{bleAdaptor, ubit},
[]gobot.Connection{bleAdaptor},
[]gobot.Device{ubit, led},
work,
)

View File

@ -30,7 +30,7 @@ func main() {
}
robot := gobot.NewRobot("buttonBot",
[]gobot.Connection{bleAdaptor, ubit},
[]gobot.Connection{bleAdaptor},
[]gobot.Device{ubit, button, led},
work,
)