Added Clock jack detect pin and spelling correction.

This commit is contained in:
Kara 2022-12-20 16:40:46 -05:00
parent 337517c7f8
commit ca1c968d84

View file

@ -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];