User:Claxhanson/proto: Difference between revisions

From XPUB & Lens-Based wiki
Line 76: Line 76:
   }
   }
else if (KNOB > 713 && KNOB < 744) {
else if (KNOB > 713 && KNOB < 744) {
   Serial.print (« The Amazonian forest is burning");
   Serial.print (« The Amazon forest is burning");
   }
   }
else if (KNOB > 744 && KNOB < 775) {
else if (KNOB > 744 && KNOB < 775) {

Revision as of 12:43, 5 December 2019

CODE NUMBER 1

(Repeat for each KNOB)

if (KNOB < 31) {
  Serial.print (" ");
  }
else if (KNOB > 31 && KNOB < 62) {
  Serial.print (" ");
  }
else if (KNOB > 62 && KNOB < 93) {
  Serial.print ("");
  }
else if (KNOB > 93 && KNOB < 124) {
  Serial.print (" ");
  }
else if (KNOB > 124 && KNOB < 155) {
  Serial.print (" ");
  }
else if (KNOB > 155 && KNOB < 186) {
  Serial.print (" ");
  }
else if (KNOB > 186 && KNOB < 217) {
  Serial.print (" ");
  }
else if (KNOB > 217 && KNOB < 248) {
  Serial.print ("");
  }
else if (KNOB > 248 && KNOB < 279) {
  Serial.print (" ");
  }
else if (KNOB > 279 && KNOB < 310) {
  Serial.print (" ");
  }
else if (KNOB > 310 && KNOB < 341) {
  Serial.print (" ");
  }
else if (KNOB > 341 && KNOB < 372) {
  Serial.print (" ");
  }
else if (KNOB > 372 && KNOB < 403) {
  Serial.print (" ");
  }
else if (KNOB > 403 && KNOB < 434) {
  Serial.print (" ");
  }
else if (KNOB > 434 && KNOB < 465) {
  Serial.print (" ");
  }
else if (KNOB > 465 && KNOB < 496) {
  Serial.print (" ");
  }
else if (KNOB > 496 && KNOB < 527) {
  Serial.print (" ");
  }
else if (KNOB > 527 && KNOB < 558) {
  Serial.print (" ");
  }
else if (KNOB > 558 && KNOB < 589) {
  Serial.print (" ");
  }
else if (KNOB > 589 && KNOB < 620) {
  Serial.print (" ");
  }
else if (KNOB > 620 && KNOB < 651) {
  Serial.print (" ");
  }
else if (KNOB > 651 && KNOB < 682) {
  Serial.print (" ");
  }
else if (KNOB > 682 && KNOB < 713) {
  Serial.print (" ");
  }
else if (KNOB > 713 && KNOB < 744) {
  Serial.print (« The Amazon forest is burning");
  }
else if (KNOB > 744 && KNOB < 775) {
  Serial.print (" ");
  }
else if (KNOB > 775 && KNOB < 806) {
  Serial.print ("");
  }
else if (KNOB > 806 && KNOB < 837) {
  Serial.print (" ");
  }
else if (KNOB > 837 && KNOB < 868) {
  Serial.print (" ");
  }
else if (KNOB > 868 && KNOB < 899) {
  Serial.print (" ");
  }
else if (KNOB > 899 && KNOB < 992) {
  Serial.print (" ");
  }
else if (KNOB > 992 && KNOB < 1023) {
  Serial.print (" ");
  }