mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-04-27 13:48:56 +08:00
raspi: correct README build insttructions with missing 'go build' command
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
29651fb793
commit
8f13e57839
@ -56,7 +56,7 @@ func main() {
|
|||||||
Simply compile your Gobot program like this:
|
Simply compile your Gobot program like this:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ GOARM=6 GOARCH=arm GOOS=linux examples/raspi_blink.go
|
$ GOARM=6 GOARCH=arm GOOS=linux go build examples/raspi_blink.go
|
||||||
```
|
```
|
||||||
|
|
||||||
Use the following `GOARM` values to compile depending on which model Raspberry Pi you are using:
|
Use the following `GOARM` values to compile depending on which model Raspberry Pi you are using:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user