#define NUM_COLUMNS 7
#define outputpola 6
#define MAX_VALUE 3
uint8_t pola[NUM_COLUMNS][2200];
uint8_t outp[outputpola][2200];
float pola2[NUM_COLUMNS][2200];
uint8_t outp2[outputpola][2200];
String ket_gerakan[2200];
uint64_t baris = 0;
uint64_t savebaris;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
tes();
buatpola2();
tes();
showpola(savebaris);
showout(savebaris);
// setoutput();
Serial.println("oke");
// cekpola(baris + 1);
cekpola2(savebaris);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.print("/!\\");
delay(2000); // this speeds up the simulation
}
void tes() {
Serial.print(" >");
while (Serial.available() == 0) {
Serial.print("/!\\");
delay(2000);
}
while (Serial.read() != '\n') {}
Serial.print(" =...");
while (Serial.available() == 0) {}
while (Serial.read() != '\n') {}
delay(500);
Serial.print("ok\n");
}