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
1 changed files with 4 additions and 2 deletions

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
@ -22,9 +23,9 @@ bool ClockState = false;
int PpQN = 24; int PpQN = 24;
float Clock = 120; 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];
@ -51,5 +52,6 @@ void setup() {
void loop() { void loop() {
delay(1); delay(1);
} }