Update README.md

This commit is contained in:
Adrian Zankich 2014-02-04 14:25:39 -08:00
parent 9f04c4d8ac
commit fc8ca57a00
1 changed files with 4 additions and 4 deletions

View File

@ -40,8 +40,8 @@ func main() {
}
robot := gobot.Robot{
Connections: []interface{} { spheroAdaptor },
Devices: []interface{} { sphero },
Connections: []gobot.Connection{ spheroAdaptor },
Devices: []gobot.Device{ sphero },
Work: work,
}
@ -70,10 +70,10 @@ func main() {
led.Name = "led"
led.Pin = "13"
connections := []interface{}{
connections := []gobot.Connection{
firmata,
}
devices := []interface{}{
devices := []gobot.Device{}{
led,
}