Here is the nylon code that powers Tube Do. It is relatively simple, turning on a few LEDs and relays based on the position of a potentiometer.

// code

//Tube Do


//int p=100; //pause

while(true){

int a = #0;

if(a<20){
:0=1;
:1=1;
:2=1;
:3=1;
:4=1;
:5=0;
:6=0;
:7=1;
//pause(p);
}

else if(a<40){
:0=1;
:1=1;
:2=1;
:3=1;
:4=0;
:5=0;
:6=1;
:7=0;
//pause(p);
}

else if(a<60){
:0=1;
:1=1;
:2=1;
:3=0;
:4=0;
:5=0;
:6=1;
:7=0;
//pause(p);
}

else if(a<80){
:0=1;
:1=1;
:2=0;
:3=0;
:4=0;
:5=1;
:6=0;
:7=0;
//pause(p);
}

else{
:0=1;
:1=0;
:2=0;
:3=0;
:4=0;
:5=1;
:6=0;
:7=0;
//pause(p);
}

}