Skip to content

Commit

Permalink
Merge pull request #244 from firmata/v2.5
Browse files Browse the repository at this point in the history
prepare for v2.5 release
  • Loading branch information
soundanalogous committed Nov 8, 2015
2 parents e530667 + 522cb5c commit 2c82cc1
Show file tree
Hide file tree
Showing 17 changed files with 114 additions and 1,336 deletions.
2 changes: 1 addition & 1 deletion Boards.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
See file LICENSE.txt for further informations on licensing terms.
Last updated August 9th, 2015
Last updated November 5th, 2015
*/

#ifndef Firmata_Boards_h
Expand Down
2 changes: 1 addition & 1 deletion Firmata.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Firmata.cpp - Firmata library v2.4.4 - 2015-8-9
Firmata.cpp - Firmata library v2.5.0 - 2015-11-7
Copyright (c) 2006-2008 Hans-Christoph Steiner. All rights reserved.
This library is free software; you can redistribute it and/or
Expand Down
6 changes: 3 additions & 3 deletions Firmata.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Firmata.h - Firmata library v2.4.4 - 2015-8-9
Firmata.h - Firmata library v2.5.0 - 2015-11-7
Copyright (c) 2006-2008 Hans-Christoph Steiner. All rights reserved.
This library is free software; you can redistribute it and/or
Expand All @@ -20,8 +20,8 @@
* software can test whether it will be compatible with the currently
* installed firmware. */
#define FIRMATA_MAJOR_VERSION 2 // for non-compatible changes
#define FIRMATA_MINOR_VERSION 4 // for backwards compatible changes
#define FIRMATA_BUGFIX_VERSION 4 // for bugfix releases
#define FIRMATA_MINOR_VERSION 5 // 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

Expand Down
4 changes: 2 additions & 2 deletions examples/StandardFirmata/StandardFirmata.ino
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ void setPinModeCallback(byte pin, int mode)
if (IS_PIN_DIGITAL(pin)) {
pinMode(PIN_TO_DIGITAL(pin), INPUT); // disable output driver
#if ARDUINO <= 100
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.5
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.6
digitalWrite(PIN_TO_DIGITAL(pin), LOW); // disable internal pull-ups
#endif
}
Expand All @@ -267,7 +267,7 @@ void setPinModeCallback(byte pin, int mode)
if (IS_PIN_DIGITAL(pin)) {
pinMode(PIN_TO_DIGITAL(pin), INPUT); // disable output driver
#if ARDUINO <= 100
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.5
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.6
digitalWrite(PIN_TO_DIGITAL(pin), LOW); // disable internal pull-ups
#endif
pinConfig[pin] = INPUT;
Expand Down
4 changes: 2 additions & 2 deletions examples/StandardFirmataChipKIT/StandardFirmataChipKIT.ino
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ void setPinModeCallback(byte pin, int mode)
if (IS_PIN_DIGITAL(pin)) {
pinMode(PIN_TO_DIGITAL(pin), INPUT); // disable output driver
#if ARDUINO <= 100
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.5
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.6
digitalWrite(PIN_TO_DIGITAL(pin), LOW); // disable internal pull-ups
#endif
}
Expand All @@ -278,7 +278,7 @@ void setPinModeCallback(byte pin, int mode)
if (IS_PIN_DIGITAL(pin)) {
pinMode(PIN_TO_DIGITAL(pin), INPUT); // disable output driver
#if ARDUINO <= 100
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.5
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.6
digitalWrite(PIN_TO_DIGITAL(pin), LOW); // disable internal pull-ups
#endif
pinConfig[pin] = INPUT;
Expand Down
4 changes: 2 additions & 2 deletions examples/StandardFirmataEthernet/StandardFirmataEthernet.ino
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ void setPinModeCallback(byte pin, int mode)
if (IS_PIN_DIGITAL(pin)) {
pinMode(PIN_TO_DIGITAL(pin), INPUT); // disable output driver
#if ARDUINO <= 100
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.5
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.6
digitalWrite(PIN_TO_DIGITAL(pin), LOW); // disable internal pull-ups
#endif
}
Expand All @@ -385,7 +385,7 @@ void setPinModeCallback(byte pin, int mode)
if (IS_PIN_DIGITAL(pin)) {
pinMode(PIN_TO_DIGITAL(pin), INPUT); // disable output driver
#if ARDUINO <= 100
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.5
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.6
digitalWrite(PIN_TO_DIGITAL(pin), LOW); // disable internal pull-ups
#endif
pinConfig[pin] = INPUT;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ void setPinModeCallback(byte pin, int mode)
if (IS_PIN_DIGITAL(pin)) {
pinMode(PIN_TO_DIGITAL(pin), INPUT); // disable output driver
#if ARDUINO <= 100
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.5
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.6
digitalWrite(PIN_TO_DIGITAL(pin), LOW); // disable internal pull-ups
#endif
}
Expand All @@ -473,7 +473,7 @@ void setPinModeCallback(byte pin, int mode)
if (IS_PIN_DIGITAL(pin)) {
pinMode(PIN_TO_DIGITAL(pin), INPUT); // disable output driver
#if ARDUINO <= 100
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.5
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.6
digitalWrite(PIN_TO_DIGITAL(pin), LOW); // disable internal pull-ups
#endif
pinConfig[pin] = INPUT;
Expand Down
4 changes: 2 additions & 2 deletions examples/StandardFirmataPlus/StandardFirmataPlus.ino
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ void setPinModeCallback(byte pin, int mode)
if (IS_PIN_DIGITAL(pin)) {
pinMode(PIN_TO_DIGITAL(pin), INPUT); // disable output driver
#if ARDUINO <= 100
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.5
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.6
digitalWrite(PIN_TO_DIGITAL(pin), LOW); // disable internal pull-ups
#endif
}
Expand All @@ -401,7 +401,7 @@ void setPinModeCallback(byte pin, int mode)
if (IS_PIN_DIGITAL(pin)) {
pinMode(PIN_TO_DIGITAL(pin), INPUT); // disable output driver
#if ARDUINO <= 100
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.5
// deprecated since Arduino 1.0.1 - TODO: drop support in Firmata 2.6
digitalWrite(PIN_TO_DIGITAL(pin), LOW); // disable internal pull-ups
#endif
pinConfig[pin] = INPUT;
Expand Down
Loading

0 comments on commit 2c82cc1

Please sign in to comment.