diff --git a/Lanes.ino b/Lanes.ino index b7d5c6b..4e46aa3 100644 --- a/Lanes.ino +++ b/Lanes.ino @@ -11,6 +11,7 @@ const int Enc2P2 = 15; //Encoder 2 Pin 2 to non-Interrupting pin because we onl const int Enc1Btn = 16; //Encoder 1 Button const int Enc2Btn = 17; //Encoder 2 Button const int ClockIn = 20; //Clock In +const int ClockDetect = 21; //Detect clock jack Encoder LeftEnc( Enc1P1, Enc1P2); Encoder RightEnc( Enc2P1, Enc2P2); @@ -27,7 +28,7 @@ unsigned long ClockTime = 0; unsigned long LastStepTime = 0; long Lane1Pos, Lane2Pos, Lane3Pos, Lane1Time, Lane2Time, Lane3Time = 0; -//Lanes are 4 dimentions 0 = Step Time, 1 = Step Voltage, 2 = Curve type (Linear, Expo, Log, Sine, etc) 3 = Curve Parameter. +//Lanes are 4 dimensions 0 = Step Time, 1 = Step Voltage, 2 = Curve type (Linear, Expo, Log, Sine, etc) 3 = Curve Parameter. int Lane1[4][16]; int Lane2[4][16]; int Lane3[4][16];