User:Claxhanson/proto

From XPUB & Lens-Based wiki

🩲

If, else if, and the knob

Knobb.jpg

(Repeat for each KNOB)



if (KNOB < 31) {
Serial.print (" ");
}

else if (KNOB > 31 && KNOB < 62) {

Ifknob.jpg

Serial.print (" ");
}

...

else if (KNOB > 217 && KNOB < 248) {
Serial.print ("");
}

else if (KNOB > 248 && KNOB < 279) {
Serial.print (" ");
}

...

else if (KNOB > 899 && KNOB < 992) {
Serial.print ("The Amazon forest is burning"");
}

else if (KNOB > 992 && KNOB < 1023) {
Serial.print (" ");
}

Knob, Slider, Switch

Knob.jpg Sliderr.jpg Switch.jpg