Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed logicFirst2 pinMode

  • Loading branch information...
commit a087ddacbe4dcfdeb0018f0897df3a6f06b6cff3 1 parent d2a6c3d
@Lauszus Lauszus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  NXTShield.cpp
View
2  NXTShield.cpp
@@ -192,7 +192,7 @@ Motor1::Motor1() {
pinMode(firstPWM, OUTPUT);
pinMode(logicFirst1, OUTPUT);
- pinMode(logicFirst1, OUTPUT);
+ pinMode(logicFirst2, OUTPUT);
attachInterrupt(0, firstEncoder, CHANGE); // pin 2
}
Please sign in to comment.
Something went wrong with that request. Please try again.