File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed
StandardFirmataEthernetPlus Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 20
20
21
21
See file LICENSE.txt for further informations on licensing terms.
22
22
23
- Last updated by Jeff Hoefs: August 9th , 2015
23
+ Last updated by Jeff Hoefs: October 24th , 2015
24
24
*/
25
25
26
26
#include < Servo.h>
@@ -654,7 +654,7 @@ void systemResetCallback()
654
654
if (IS_PIN_ANALOG (i)) {
655
655
// turns off pullup, configures everything
656
656
setPinModeCallback (i, ANALOG);
657
- } else {
657
+ } else if ( IS_PIN_DIGITAL (i)) {
658
658
// sets the output to 0, configures portConfigInputs
659
659
setPinModeCallback (i, OUTPUT);
660
660
}
Original file line number Diff line number Diff line change 21
21
22
22
See file LICENSE.txt for further informations on licensing terms.
23
23
24
- Last updated by Brian Schmalz: August 9th , 2015
24
+ Last updated by Jeff Hoefs: October 24th , 2015
25
25
*/
26
26
27
27
#include < SoftPWMServo.h> // Gives us PWM and Servo on every pin
@@ -663,7 +663,7 @@ void systemResetCallback()
663
663
if (IS_PIN_ANALOG (i)) {
664
664
// turns off pullup, configures everything
665
665
setPinModeCallback (i, ANALOG);
666
- } else {
666
+ } else if ( IS_PIN_DIGITAL (i)) {
667
667
// sets the output to 0, configures portConfigInputs
668
668
setPinModeCallback (i, OUTPUT);
669
669
}
Original file line number Diff line number Diff line change 20
20
21
21
See file LICENSE.txt for further informations on licensing terms.
22
22
23
- Last updated by Jeff Hoefs: August 9th , 2015
23
+ Last updated by Jeff Hoefs: October 24th , 2015
24
24
*/
25
25
26
26
/*
@@ -770,7 +770,7 @@ void systemResetCallback()
770
770
if (IS_PIN_ANALOG (i)) {
771
771
// turns off pullup, configures everything
772
772
setPinModeCallback (i, ANALOG);
773
- } else {
773
+ } else if ( IS_PIN_DIGITAL (i)) {
774
774
// sets the output to 0, configures portConfigInputs
775
775
setPinModeCallback (i, OUTPUT);
776
776
}
Original file line number Diff line number Diff line change 20
20
21
21
See file LICENSE.txt for further informations on licensing terms.
22
22
23
- Last updated by Jeff Hoefs: October 4th , 2015
23
+ Last updated by Jeff Hoefs: October 24th , 2015
24
24
*/
25
25
26
26
/*
@@ -1026,7 +1026,7 @@ void systemResetCallback()
1026
1026
if (IS_PIN_ANALOG (i)) {
1027
1027
// turns off pullup, configures everything
1028
1028
setPinModeCallback (i, ANALOG);
1029
- } else {
1029
+ } else if ( IS_PIN_DIGITAL (i)) {
1030
1030
// sets the output to 0, configures portConfigInputs
1031
1031
setPinModeCallback (i, OUTPUT);
1032
1032
}
Original file line number Diff line number Diff line change @@ -962,7 +962,7 @@ void systemResetCallback()
962
962
if (IS_PIN_ANALOG (i)) {
963
963
// turns off pullup, configures everything
964
964
setPinModeCallback (i, ANALOG);
965
- } else {
965
+ } else if ( IS_PIN_DIGITAL (i)) {
966
966
// sets the output to 0, configures portConfigInputs
967
967
setPinModeCallback (i, OUTPUT);
968
968
}
Original file line number Diff line number Diff line change 21
21
22
22
See file LICENSE.txt for further informations on licensing terms.
23
23
24
- Last updated by Jeff Hoefs: August 9th , 2015
24
+ Last updated by Jeff Hoefs: October 24th , 2015
25
25
*/
26
26
27
27
/*
@@ -666,7 +666,7 @@ void systemResetCallback()
666
666
if (IS_PIN_ANALOG (i)) {
667
667
// turns off pullup, configures everything
668
668
setPinModeCallback (i, ANALOG);
669
- } else {
669
+ } else if ( IS_PIN_DIGITAL (i)) {
670
670
// sets the output to 0, configures portConfigInputs
671
671
setPinModeCallback (i, OUTPUT);
672
672
}
You can’t perform that action at this time.
0 commit comments