Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zankich committed Oct 28, 2014
1 parent 6bd4690 commit fd24e6a
Show file tree
Hide file tree
Showing 75 changed files with 62 additions and 1,162 deletions.
3 changes: 1 addition & 2 deletions api/doc.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*
Package api provides functionally to expose your gobot programs
to other by using starting a web server and adding commands.
Package api provides a webserver to interact with your Gobot program over the network.
Example:
Expand Down
3 changes: 2 additions & 1 deletion doc.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2014 The Gobot Authors, HybridGroup. All rights reserved.

/*
Package gobot is the main point of entry in your Gobot application. A Gobot
Package gobot provides a framework for robotics, physical computing and the internet of things.
It is the main point of entry in your Gobot application. A Gobot
is typically composed of one or more robots that makes up a project.
Commands are a way to expose your robots functionality with the external world.
Expand Down
5 changes: 3 additions & 2 deletions examples/beaglebone_basic_direct_pin.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Use Gobot to control BeagleBone's digital pins directly
package main

import (
Expand All @@ -8,8 +7,10 @@ import (

func main() {

// Use Gobot to control BeagleBone's digital pins directly

beagleboneAdaptor := beaglebone.NewBeagleboneAdaptor("beaglebone")
gpioPin := gpio.NewDirectPinDriver(beagleboneAdaptor, "myDevice", "P9_12")
gpioPin := gpio.NewDirectPinDriver(beagleboneAdaptor, "myDevice", "P9_12")

// Initialize the internal representation of the pinout
beagleboneAdaptor.Connect()
Expand Down
22 changes: 22 additions & 0 deletions gobot/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
CLI tool for generating new Gobot projects.
NAME:
gobot - Command Line Utility for Gobot
USAGE:
gobot [global options] command [command options] [arguments...]
VERSION:
0.1
COMMANDS:
generate Generate new Gobot skeleton project
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
*/
package main
4 changes: 2 additions & 2 deletions platforms/ardrone/doc.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
This package provides the Gobot adaptor and driver for the [Parrot Ardrone](http://ardrone2.parrot.com).
Package ardrone provides the Gobot adaptor and driver for the Parrot Ardrone.
Installing:
go get github.com/hybridgroup/gobot && go install github.com/hybridgroup/gobot/platforms/ardrone
go get github.com/hybridgroup/gobot/platforms/ardrone
Example:
Expand Down
88 changes: 0 additions & 88 deletions platforms/ardrone/docs/commands_flight.md

This file was deleted.

5 changes: 0 additions & 5 deletions platforms/ardrone/docs/events_flight.md

This file was deleted.

4 changes: 2 additions & 2 deletions platforms/beaglebone/doc.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
This package provides the Gobot adaptor for the Beaglebone Black (http://beagleboard.org/Products/BeagleBone+Black/)
Package beaglebone provides the Gobot adaptor for the Beaglebone Black.
Installing:
go get github.com/hybridgroup/gobot && go install github.com/hybridgroup/platforms/gobot/beaglebone
go get github.com/hybridgroup/platforms/gobot/beaglebone
Example:
Expand Down
4 changes: 2 additions & 2 deletions platforms/digispark/doc.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
This package provides the Gobot adaptor for the [Digispark](http://digistump.com/products/1) ATTiny-based USB development board with the [Little Wire](http://littlewire.cc/) protocol firmware installed.
Package digispark provides the Gobot adaptor for the Digispark ATTiny-based USB development board.
Installing:
This package requires installing `libusb`.
Then you can install the package with:
go get github.com/hybridgroup/gobot && go install github.com/hybridgroup/gobot/platforms/digispark
go get github.com/hybridgroup/gobot/platforms/digispark
Example:
Expand Down
5 changes: 2 additions & 3 deletions platforms/firmata/doc.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/*
This package provides the adaptor for microcontrollers such as Arduino that support the [Firmata](http://firmata.org/wiki/Main_Page) protocol
Package firmata provides the Gobot adaptor for microcontrollers that support the Firmata protocol.
Installing:
go get github.com/hybridgroup/gobot && go install github.com/hybridgroup/gobot/platforms/firmata
go get github.com/hybridgroup/gobot/platforms/firmata
## Example
Expand Down
4 changes: 2 additions & 2 deletions platforms/gpio/doc.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/*
This package provides drivers for General Purpose Input/Output (GPIO) (https://en.wikipedia.org/wiki/General_Purpose_Input/Output) devices . It is normally not used directly, but instead is registered by an adaptor such as firmata (https://github.com/hybridgroup/gobot/platforms/firmata) that supports the needed interfaces for GPIO devices.
Package gpio provides Gobot drivers for General Purpose Input/Output devices.
Installing:
go get github.com/hybridgroup/gobot && go install github.com/hybridgroup/gobot/platforms/gpio
go get github.com/hybridgroup/gobot/platforms/gpio
For further information refer to gpio README:
https://github.com/hybridgroup/gobot/blob/master/platforms/gpio/README.md
Expand Down
Binary file removed platforms/gpio/docs/.DS_Store
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/analog_sensor.fzz
Binary file not shown.
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/banana.png
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/button.fzz
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/button_bb.png
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/hand.png
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/led.fzz
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/led_bb.png
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/makey_button.fzz
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/makey_button_bb.png
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/maxbotix.fzz
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/maxbotix_bb.png
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/motor.fzz
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/motor_bb.png
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/servo.fzz
Binary file not shown.
Binary file removed platforms/gpio/docs/breadboards/servo_bb.png
Binary file not shown.
14 changes: 0 additions & 14 deletions platforms/gpio/docs/commands_analog_sensor.md

This file was deleted.

89 changes: 0 additions & 89 deletions platforms/gpio/docs/commands_direct_pin.md

This file was deleted.

41 changes: 0 additions & 41 deletions platforms/gpio/docs/commands_led.md

This file was deleted.

3 changes: 0 additions & 3 deletions platforms/gpio/docs/commands_makey.md

This file was deleted.

Loading

0 comments on commit fd24e6a

Please sign in to comment.