forked from hybridgroup/gobot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9237bf
commit 4091681
Showing
15 changed files
with
149 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Beaglebone | ||
|
||
This package provides the Gobot adaptor for the [Beaglebone Black](http://beagleboard.org/Products/BeagleBone+Black/) | ||
The BeagleBone is an ARM based single board computer, with many different GPIO interfaces built in. | ||
|
||
## Getting Started | ||
For more info about the BeagleBone platform click [here](http://beagleboard.org/Products/BeagleBone+Black). | ||
|
||
## Installing | ||
## How to Install | ||
``` | ||
go get -d -u github.com/hybridgroup/gobot/... && go install github.com/hybridgroup/gobot/platforms/beaglebone | ||
``` | ||
|
@@ -18,17 +18,19 @@ $ GOOS=linux GOARCH=arm ./make.bash --no-clean | |
``` | ||
|
||
Then compile your Gobot program with | ||
|
||
```bash | ||
$ GOARM=7 GOARCH=arm GOOS=linux go build examples/beaglebone_blink.go | ||
``` | ||
|
||
If you are running the official Angstrom or Debian linux through the usb->ethernet connection, you can simply upload your program and execute it with | ||
``` bash | ||
|
||
```bash | ||
$ scp beaglebone_blink [email protected]:/home/root/ | ||
$ ssh -t [email protected] "./beaglebone_blink" | ||
``` | ||
|
||
## Example | ||
## How to Use | ||
|
||
```go | ||
package main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
# Edison | ||
# Edison | ||
|
||
This package contains the Gobot adaptor for the [Intel Edison](http://www.intel.com/content/www/us/en/do-it-yourself/edison.html) IoT platform. | ||
The Intel Edison is a wifi and Bluetooth® enabled devolopment platform for the Internet of Things. It packs a robust set of features into its small size and supports a broad spectrum of I/O and software support. | ||
|
||
This package currently supports the following Intel IoT hardware: | ||
- Intel Edison with the Arduino breakout board | ||
For more info about the Edison platform click [here](http://www.intel.com/content/www/us/en/do-it-yourself/edison.html). | ||
|
||
## Getting Started | ||
## How to Install | ||
|
||
First you must install the appropriate Go packages | ||
|
||
|
@@ -29,21 +28,24 @@ $ GOOS=linux GOARCH=386 ./make.bash --no-clean | |
``` | ||
|
||
Then compile your Gobot program with | ||
|
||
```bash | ||
$ GOARCH=386 GOOS=linux go build examples/edison_blink.go | ||
``` | ||
|
||
Then you can simply upload your program over the network from your host computer to the Edison | ||
``` bash | ||
Then you can simply upload your program over the network from your host computer to the Edison | ||
|
||
```bash | ||
$ scp edison_blink [email protected]:/home/root/ | ||
``` | ||
|
||
and execute it on your Edison with | ||
|
||
```bash | ||
$ ./edison_blink | ||
``` | ||
|
||
## Example | ||
## How to Use | ||
|
||
```go | ||
package main | ||
|
@@ -79,3 +81,6 @@ func main() { | |
gbot.Start() | ||
} | ||
``` | ||
## How to Connect | ||
|
||
The [Intel Edison Getting Started Guide](https://communities.intel.com/docs/DOC-23147) details connection instructions for Windows, Mac and Linux. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.