aboutsummaryrefslogtreecommitdiff
path: root/libraries/Firmata/examples
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Firmata/examples')
-rw-r--r--libraries/Firmata/examples/I2CFirmata/I2CFirmata.pde2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/Firmata/examples/I2CFirmata/I2CFirmata.pde b/libraries/Firmata/examples/I2CFirmata/I2CFirmata.pde
index ffcb589..3cd2451 100644
--- a/libraries/Firmata/examples/I2CFirmata/I2CFirmata.pde
+++ b/libraries/Firmata/examples/I2CFirmata/I2CFirmata.pde
@@ -149,7 +149,7 @@ void sysexCallback(byte command, byte argc, byte *argv)
delayTime = (delayTime << 8) + (argv[2] + (argv[3] << 7)); // add LSB
if((argv[0] + (argv[1] << 7)) > 0) {
- enablePowerPins(PC3, PC2);
+ enablePowerPins(PORTC3, PORTC2);
}
if(delayTime > 0) {