Fixed errors before even compiling D:
This commit is contained in:
parent
2ef4017508
commit
15088c6926
1 changed files with 9 additions and 9 deletions
18
Lanes.ino
18
Lanes.ino
|
@ -25,25 +25,25 @@ float ClockTick = 1/((Clock * PpQN)/60);
|
||||||
long Lane1Pos, Lane2Pos, Lane3Pos, Lane1Time, Lane2Time, Lane3Time= 0;
|
long Lane1Pos, Lane2Pos, Lane3Pos, Lane1Time, Lane2Time, Lane3Time= 0;
|
||||||
|
|
||||||
|
|
||||||
int Lane1[4,16];
|
int Lane1[4][16];
|
||||||
int Lane2[4,16];
|
int Lane2[4][16];
|
||||||
int Lane3[4,16];
|
int Lane3[4][16];
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
|
|
||||||
//Open Serial for output prior to installing a screen
|
//Open Serial for output prior to installing a screen
|
||||||
Serial.begin( 115200 );
|
Serial.begin( 115200 );
|
||||||
|
|
||||||
randomSeed(analogread(A7));
|
randomSeed(analogRead(A7));
|
||||||
|
|
||||||
//Clear the Lanes
|
//Clear the Lanes
|
||||||
for(int i = 0; i < 16; i++){
|
for(int i = 0; i < 16; i++){
|
||||||
Lane1[0,i] = random(0, 96);
|
Lane1[0][i] = random(0, 96);
|
||||||
Lane1[1,i] = random(0, 255);
|
Lane1[1][i] = random(0, 255);
|
||||||
Lane1[2,i] = random(0, 2);
|
Lane1[2][i] = random(0, 2);
|
||||||
Lane1[3,i] = random(0,255);
|
Lane1[3][i] = random(0,255);
|
||||||
for(int j = 0; j < 4; j++){
|
for(int j = 0; j < 4; j++){
|
||||||
Lane2[j,i] = Lane3[i,j] = 0;
|
Lane2[j][i] = Lane3[i][j] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue