Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
769803f
updated readme to add new Firmata client libraries
soundanalogous Nov 18, 2013
ecc1b87
remove duplicate word
nicolaspanel Feb 10, 2014
d8f9a75
add interrupt pins, see http://arduino.cc/en/Reference/attachInterrup…
nicolaspanel Feb 10, 2014
58c0518
create EncoderFirmata header file
nicolaspanel Feb 10, 2014
a40eb12
add private method to report all encoders positions
nicolaspanel Feb 10, 2014
3bcec4a
improve documentation
nicolaspanel Feb 10, 2014
3dc34c1
fix syntax issues
nicolaspanel Feb 10, 2014
ccfe8af
add EncoderFirmata implementation file
nicolaspanel Feb 10, 2014
084b667
implement EncoderFirmata
nicolaspanel Feb 10, 2014
b2b5f62
update IS_PIN_INTERRPUT macros, according to http://www.pjrc.com/teen…
nicolaspanel Feb 10, 2014
3a6aacf
update ConfigurableFirmata to manage Encoders
nicolaspanel Feb 10, 2014
c1fe131
rename encoder utilities folder
nicolaspanel Feb 10, 2014
5ce5007
fix synthax errors and and encoder unit tests
Feb 10, 2014
b27db4c
fix remaining bugs and improve testing coverage
Feb 10, 2014
e3977a1
move function to public to improve tests
nicolaspanel Feb 11, 2014
09f240f
improve tests and check for memory leaks
nicolaspanel Feb 11, 2014
bc5e578
add example.ion file for encoders, including protocol proposal
nicolaspanel Feb 11, 2014
5361118
improve documentation
nicolaspanel Feb 11, 2014
4b7b718
Merge branch 'encoders'
nicolaspanel Feb 11, 2014
8a803dc
improve testing and documentation
Feb 11, 2014
113cbd0
add reference to wire and servo to avoid compilation issue
Feb 11, 2014
72aec53
ConfigurableFirmata.ino compiling. Size : 30kbytes
Feb 11, 2014
26e95e3
Automatic reporting report one encoder at the time (best performences)
nicolaspanel Feb 14, 2014
0b2e630
fix naming issue
nicolaspanel Feb 14, 2014
6861d19
improve full report test
nicolaspanel Feb 14, 2014
be9f18e
Merge branch 'develop'
nicolaspanel Feb 14, 2014
dc237a2
there is discussion on the Arduino dev list about resolving this prob…
nicolaspanel Feb 14, 2014
3d7d8b9
Errors and warnings are commented to avoid out-of-sram error.
nicolaspanel Feb 14, 2014
12624a1
AVR gcc doen't implement a true C++ delete so use free instead
nicolaspanel Feb 14, 2014
415a002
Manage ENCODER pin mode
nicolaspanel Feb 14, 2014
4a29597
determine how much memory each instance
nicolaspanel Feb 14, 2014
fdffde9
rename test
nicolaspanel Feb 14, 2014
35aad7d
fix
nicolaspanel Feb 14, 2014
c8dfb81
update tests
nicolaspanel Feb 14, 2014
7e42f61
tests improvement
nicolaspanel Feb 14, 2014
8fa3f0f
change ENCODER to 11 (0x0B)
nicolaspanel Feb 14, 2014
e63bc82
update total pin modes number
nicolaspanel Feb 15, 2014
d1e7eb5
Use sysex responses instead of MIDI
nicolaspanel Feb 16, 2014
f643b34
fix remaining bugs
nicolaspanel Feb 16, 2014
9037100
Report positions only when at least 1 encoder is attached
nicolaspanel Feb 16, 2014
6730517
fix remaining bugs
nicolaspanel Feb 16, 2014
9a7d6ff
fix remaining bugs
nicolaspanel Feb 16, 2014
ff0a55f
Report encoder position after initialization (Firmata convention, eve…
nicolaspanel Feb 16, 2014
47fc4e6
Move ENCODER_DATA instruction to Firmata.h
nicolaspanel Feb 17, 2014
de3052d
use FakeStream#reset instead of FakeStream#flush to cleanup the stream
Feb 17, 2014
cd1f295
Merge pull request #119 from nicolaspanel/master
ntruchsess Feb 20, 2014
8d5f462
implement reporting for changed positions only
ntruchsess Feb 28, 2014
3d7ec6c
memory optimize reportPositions(), adjust test_encoder.ino to match n…
ntruchsess Feb 28, 2014
355bdf1
Merge pull request #120 from ntruchsess/encoder_report_changedonly
ntruchsess Feb 28, 2014
de0d009
remove makefiles from examples
soundanalogous Mar 9, 2014
07c2fa9
added intel galileo to boards.h
soundanalogous Mar 9, 2014
7a67148
update library properties for new IDE 1.5.6 format
soundanalogous Mar 9, 2014
4d746e8
update version in headers and build script
soundanalogous Mar 9, 2014
2a94af8
update readme
soundanalogous Mar 9, 2014
988d3c2
copy over changes from these commits: 27f7e4276974a6a5c74008490f23ba5…
soundanalogous Mar 9, 2014
572f4b3
remove arduino 1.5.x specific build because original build works for …
soundanalogous Mar 9, 2014
2b6bc1e
add back line to delete temp directory
soundanalogous Mar 9, 2014
b524dfc
missing equal sign in comparison
soundanalogous Mar 9, 2014
9cb7d4f
formatting change
soundanalogous Mar 9, 2014
ef50e73
saving a few bytes
soundanalogous Mar 9, 2014
2764059
Merge pull request #122 from firmata/merge-in-dev
soundanalogous Mar 30, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update readme
  • Loading branch information
soundanalogous committed Mar 9, 2014
commit 2a94af8933b069deb7c704b2a98bc7ecab32d1e6
2 changes: 1 addition & 1 deletion Firmata.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#define FIRMATA_MINOR_VERSION 6 // for backwards compatible changes
#define FIRMATA_BUGFIX_VERSION 0 // for bugfix releases

#define MAX_DATA_BYTES 64 // max number of data bytes in incoming messages
#define MAX_DATA_BYTES 64 // max number of data bytes in incoming messages

// message command bytes (128-255/0x80-0xFF)
#define DIGITAL_MESSAGE 0x90 // send data for a digital pin
Expand Down
34 changes: 6 additions & 28 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Most of the time you will be interacting with arduino with a client library on t
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.

##Updating Firmata in the Arduino IDE
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. If you are using Arduino 1.5.x, you'll need to delete the avr specific Firmata folder per the instructions in the next section.
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.

**Mac OSX**:

Expand All @@ -67,8 +67,8 @@ Using the Git Shell application installed with [GitHub for Windows](http://windo

update the path and arduino version as necessary
```bash
$ rm -r c:/Program\ Files/arduino-1.x/libraries/Firmata
$ git clone [email protected]:firmata/arduino.git c:/Program\ Files/arduino-1.x/libraries/Firmata
$ rm -r c:/Program\ Files/arduino/libraries/Firmata
$ git clone [email protected]:firmata/arduino.git c:/Program\ Files/arduino/libraries/Firmata
```

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.
Expand All @@ -77,38 +77,16 @@ Note: If you use GitHub for Windows, you must clone the firmata/arduino reposito

update the path and arduino version as necessary
```bash
$ rm -r ~/arduino-1.x/libraries/Firmata
$ git clone [email protected]:firmata/arduino.git ~/arduino-1.x/libraries/Firmata
```

##Updating Firmata in the Arduino 1.5.0, 1.5.1 or 1.5.2 IDE
Follow the instructions above to copy Firmata to the libraries directory. However
you will also need to delete the version of Firmata that is included in the avr
platform specific libraries directory. You'll find it in the following locations
depending on your OS. Delete the Firmata folder. Beginning with Arduino 1.5.3 this
step will no longer be necessary.

**Mac OSX**:
```
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/avr/libraries/Firmata
```

**Windows**:
```
/Program\ Files/arduino-1.5.x/hardware/arduino/avr/libraries/Firmata
```

**Linux**
```
~/arduino-1.5.x/hardware/arduino/avr/libraries/Firmata
$ rm -r ~/arduino/libraries/Firmata
$ git clone [email protected]:firmata/arduino.git ~/arduino/libraries/Firmata
```

<a name="contributing" />
##Contributing

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).

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.
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. If you are contributing a feature for configurable firmata, submit the pull request against the *configurable_dev* branch.

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.

Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ zip -r Firmata.zip ./Firmata/
cd ..
mv ./temp/Firmata.zip Firmata-2.6.0.zip

#package for Arduino 1.5.x
# package for Arduino 1.5.x
cp library.properties temp/Firmata
cd temp/Firmata
mv readme.md ./extras/
Expand Down