Skip to content

Commit b29e790

Browse files
Merge pull request firmata#24 from soundanalogous/dev
Updates readme
2 parents 5ec54e0 + 696bb6c commit b29e790

File tree

1 file changed

+41
-7
lines changed

1 file changed

+41
-7
lines changed

readme.md

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Firmata
22

3-
Firmata is a protocol for communicating with microcontrollers from software on a host computer. The protocol can be implemented in firmware on any microcontroller architecture as well as software on any host computer software package. The arduino repository described here is a Firmata library for Arduino and Arduino-compatible devices.
3+
Firmata is a protocol for communicating with microcontrollers from software on a host computer. The [protocol](http://firmata.org/wiki/Protocol) can be implemented in firmware on any microcontroller architecture as well as software on any host computer software package. The arduino repository described here is a Firmata library for Arduino and Arduino-compatible devices. See the [firmata wiki](http://firmata.org/wiki/Main_Page) for additional informataion. If you would like to contribute to Firmata, please see the [Contributing](#contributing) section below.
44

55
##Usage
66

@@ -42,23 +42,57 @@ Most of the time you will be interacting with arduino with a client library on t
4242
Note: The above libraries may support various versions of the Firmata protocol and therefore may not support all features of the latest Firmata spec nor all arduino and arduino-compatible boards. Refer to the respective projects for details.
4343

4444
##Updating Firmata in the Arduino IDE
45-
The version of firmata in the arduino IDE contains the latest stable version of firmata (Arduino 1.0 includes Firmata 2.3). If you need to use any updates made to this repository just clone the repo into the location of firmata in the arduino IDE.
45+
The version of firmata in the Arduino IDE contains an outdated version of Firmata. To update Firmata, clone the repo into the location of firmata in the arduino IDE or download the latest [tagged version](https://github.com/firmata/arduino/tags) (stable), rename the folder to "Firmata" and replace the existing Firmata folder in your Ardino application.
4646

47-
Mac OSX:
47+
**Mac OSX**:
4848

4949
```
5050
rm -r /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata
5151
git clone [email protected]:firmata/arduino.git /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata
5252
```
5353

54-
Windows:
54+
If you are downloading the latest tagged version of Firmata, rename it to "Firmata" and copy to /Applications/Arduino.app/Contents/Resources/Java/libraries/ overwriting the existing Firmata directory. Right-click (or conrol + click) on the Arduino application and choose "Show Package Contents" and navigate to the libraries directory.
55+
56+
**Windows**:
57+
58+
Using the Git Shell application installed with [GitHub for Windows](http://windows.github.com/) (set default shell in options to Git Bash) or other command line based git tool:
5559

5660
```
57-
TODO
61+
# update the path and arduino version as necessary
62+
rm -r c:/Program\ Files/arduino-1.x/libraries/Firmata
63+
git clone [email protected]:firmata/arduino.git c:/Program\ Files/arduino-1.x/libraries/Firmata
5864
```
5965

60-
Linux:
66+
Note: If you use GitHub for Windows, you must clone the firmata/arduino repository using the Git Shell application as described above. You can use the Github for Windows GUI only after you have cloned the repository. Drag the Firmata file into the Github for Windows GUI to track it.
67+
68+
**Linux**:
6169

6270
```
63-
TODO
71+
# update the path and arduino version as necessary
72+
rm -r ~/arduino-1.x/libraries/Firmata
73+
git clone [email protected]:firmata/arduino.git ~/arduino-1.x/libraries/Firmata
6474
```
75+
76+
<a name="contributing" />
77+
##Contributing
78+
79+
If you discover a bug or would like to propose a new feature, please open a new [issue](https://github.com/firmata/arduino/issues?sort=created&state=open). Due to the limited memory of standard Arduino boards we cannot add every requested feature to StandardFirmata. Requests to add new features to StandardFirmata will be evaluated by the Firmata developers. However it is still possible to add new features to other Firmata implementations (Firmata is a protocol whereas StandardFirmata is just one of many possible implementations).
80+
81+
To contribute, fork this respository and create a new topic branch for the bug, feature or other existing issue you are addressing. Submit the pull request against the *dev* branch.
82+
83+
If you would like to contribute but don't have a specific bugfix or new feature to contribute, you can take on an existing issue, see issues labeled "pull-request-encouraged". Add a comment to the issue to express your intent to begin work and/or to get any additional information about the issue.
84+
85+
You must thorougly test your contributed code. In your pull request, describe tests performed to ensure that no existing code is broken and that any changes maintain backwards compatibility with the existing api. Test on multiple Arduino board variants if possible. We hope to enable some form of automated (or at least semi-automated) testing in the future, but for now any tests will need to be executed manually by the contributor and reviewsers.
86+
87+
Maintain the existing code style:
88+
89+
- Indentation is 2 spaces
90+
- Use spaces instead of tabs
91+
- Document functions (specific doc style is TBD... for now just be sure to document)
92+
- Insert first block bracket on line following the function definition:
93+
94+
<pre>void someFunction()
95+
{
96+
// do something
97+
}
98+
</pre>

0 commit comments

Comments
 (0)