microbit: correct example pin mappings
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
e43f1d6780
commit
9a2cc0b15b
|
@ -27,7 +27,7 @@ func main() {
|
|||
}
|
||||
|
||||
robot := gobot.NewRobot("bot",
|
||||
[]gobot.Connection{bleAdaptor, ubit},
|
||||
[]gobot.Connection{bleAdaptor},
|
||||
[]gobot.Device{ubit, led},
|
||||
work,
|
||||
)
|
||||
|
|
|
@ -30,7 +30,7 @@ func main() {
|
|||
}
|
||||
|
||||
robot := gobot.NewRobot("buttonBot",
|
||||
[]gobot.Connection{bleAdaptor, ubit},
|
||||
[]gobot.Connection{bleAdaptor},
|
||||
[]gobot.Device{ubit, button, led},
|
||||
work,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue