Formatting, comments, git commit from desktop test

This commit is contained in:
Kara 2022-12-20 11:13:25 -05:00
parent 15088c6926
commit 4da6c7cc79

View file

@ -1,5 +1,6 @@
#include <Encoder.h> #include <Encoder.h>
const int Lane1Pin = 9; //Output Channel 1 const int Lane1Pin = 9; //Output Channel 1
const int Lane2Pin = 10; //Output Channel 2 const int Lane2Pin = 10; //Output Channel 2
const int Lane3Pin = 11; //Output Channel 3 const int Lane3Pin = 11; //Output Channel 3
@ -24,7 +25,7 @@ float Clock = 120;
float ClockTick = 1/((Clock * PpQN)/60); float ClockTick = 1/((Clock * PpQN)/60);
long Lane1Pos, Lane2Pos, Lane3Pos, Lane1Time, Lane2Time, Lane3Time = 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.
int Lane1[4][16]; int Lane1[4][16];
int Lane2[4][16]; int Lane2[4][16];
int Lane3[4][16]; int Lane3[4][16];
@ -52,4 +53,5 @@ void loop() {
delay(1); delay(1);
} }