Carl's Website

 
                    
                        int mi = 1;
                        int fa = 0;
                        int so = 8;
                        int la = 9;
                        int ti = 10;
                        int d =100;

                        int ans= 1;
                        
                        void setup() 
                        {
                            // put your setup code here, to run once:
                            pinMode(DO,OUTPUT);
                            pinMode(re,OUTPUT);
                            pinMode(mi,OUTPUT);
                            pinMode(fa,OUTPUT);
                            pinMode(so,OUTPUT);
                            pinMode(la,OUTPUT);
                            pinMode(ti,OUTPUT);
                            Serial.begin(9600);
                        }

                        void loop() 
                        {
                            // put your main code here, to run repeatedly:
                            if (ans == 0)
                            {
                                digitalWrite(mi,HIGH);
                                delay(d);
                                digitalWrite(mi,LOW);
                                delay(d);
                                
                                digitalWrite(re,HIGH);
                                delay(d);
                                digitalWrite(re,LOW);
                                delay(d);
                                
                                digitalWrite(DO,HIGH);
                                delay(d);
                                digitalWrite(DO,LOW);
                                delay(d);
                                
                                digitalWrite(mi,HIGH);
                                delay(d);
                                digitalWrite(mi,LOW);
                                delay(d);
                            
                                digitalWrite(re,HIGH);
                                delay(d);
                                digitalWrite(re,LOW);
                                delay(d);
                                
                                digitalWrite(DO,HIGH);
                                delay(d);
                                digitalWrite(DO,LOW);
                                delay(d);
                                
                                digitalWrite(DO,HIGH);
                                delay(d);
                                digitalWrite(DO,LOW);
                                delay(d);
                            
                                digitalWrite(DO,HIGH);
                                delay(d);
                                digitalWrite(DO,LOW);
                                delay(d);
                            
                                digitalWrite(re,HIGH);
                                delay(d);
                                digitalWrite(re,LOW);
                                delay(d);
                            
                                digitalWrite(re,HIGH);
                                delay(d);
                                digitalWrite(re,LOW);
                                delay(d);
                            
                                digitalWrite(mi,HIGH);
                                delay(d);
                                digitalWrite(mi,LOW);
                                delay(d);
                                
                                digitalWrite(re,HIGH);
                                delay(d);
                                digitalWrite(re,LOW);
                                delay(d);
                                
                                digitalWrite(DO,HIGH);
                                delay(d);
                                digitalWrite(DO,LOW);
                                delay(d);
                            }
                            else
                            {
                                digitalWrite(DO,HIGH);
                                delay(d);
                                digitalWrite(DO,LOW);
                                delay(d);

                                digitalWrite(re,HIGH);
                                delay(d);
                                digitalWrite(re,LOW);
                                delay(d);

                                digitalWrite(mi,HIGH);
                                delay(d);
                                digitalWrite(mi,LOW);
                                delay(d);

                                digitalWrite(fa,HIGH);
                                delay(d);
                                digitalWrite(fa,LOW);
                                delay(d);

                                digitalWrite(so,HIGH);
                                delay(d);
                                digitalWrite(so,LOW);
                                delay(d);

                                digitalWrite(la,HIGH);
                                delay(d);
                                digitalWrite(la,LOW);
                                delay(d);

                                digitalWrite(ti,HIGH);
                                delay(d);
                                digitalWrite(ti,LOW);
                                delay(d);
                            }
                        }
                    
                
Code used for Arduino Uno Proof of Concept showcase:
                    
                        int DO = 2;
                        int re = 3;
                        int mi = 4;

                        int d =1500;

                        void setup() 
                        {
                        // put your setup code here, to run once:
                        pinMode(DO,OUTPUT);
                        pinMode(re,OUTPUT);
                        pinMode(mi,OUTPUT);
                        Serial.begin(9600);
                        }

                        void loop() 
                        {
                        // put your main code here, to run repeatedly:
                            digitalWrite(mi,LOW);
                            delay(d);
                            digitalWrite(mi,HIGH);
                            delay(d);
                            
                            digitalWrite(re,LOW);
                            delay(d);
                            digitalWrite(re,HIGH);
                            delay(d);
                            
                            digitalWrite(DO,LOW);
                            delay(d);
                            digitalWrite(DO,HIGH);
                            delay(d);
                            
                            digitalWrite(mi,LOW);
                            delay(d);
                            digitalWrite(mi,HIGH);
                            delay(d);
                        
                            digitalWrite(re,LOW);
                            delay(d);
                            digitalWrite(re,HIGH);
                            delay(d);
                            
                            digitalWrite(DO,LOW);
                            delay(d);
                            digitalWrite(DO,HIGH);
                            delay(d);
                            
                            digitalWrite(DO,LOW);
                            delay(d);
                            digitalWrite(DO,HIGH);
                            delay(d);
                        
                            digitalWrite(DO,LOW);
                            delay(d);
                            digitalWrite(DO,HIGH);
                            delay(d);
                        
                            digitalWrite(re,LOW);
                            delay(d);
                            digitalWrite(re,HIGH);
                            delay(d);
                        
                            digitalWrite(re,LOW);
                            delay(d);
                            digitalWrite(re,HIGH);
                            delay(d);
                        
                            digitalWrite(mi,LOW);
                            delay(d);
                            digitalWrite(mi,HIGH);
                            delay(d);
                            
                            digitalWrite(re,LOW);
                            delay(d);
                            digitalWrite(re,HIGH);
                            delay(d);
                            
                            digitalWrite(DO,LOW);
                            delay(d);
                            digitalWrite(DO,HIGH);
                            delay(d);
                        }