Link to this comparison view

Both sides previous revision Previous revision
fabricademy2017:students:e-textile [2018/07/07 14:42]
ayseesindurmaz
fabricademy2017:students:e-textile [2018/07/07 14:42] (current)
ayseesindurmaz
Line 126: Line 126:
  
 <​code>​ <​code>​
-else if (middle> 60){  +else if (middle> 60){ 
-if (ring> 60)  +if (ring> 60) 
-{ Serial.print("​H"​);​ //MR (middle and ring)  +{ Serial.print("​H"​);​ //MR (middle and ring) 
-tone(9, NOTE_E + NOTE_F);  +tone(9, NOTE_E + NOTE_F); 
-          ​ +
-else if (pinky> 50)  +else if (pinky> 50) 
-{ Serial.print("​J"​);​ //MP (middle and pinky)  +{ Serial.print("​J"​);​ //MP (middle and pinky) 
-tone(9, NOTE_E + NOTE_G);  +tone(9, NOTE_E + NOTE_G); 
-          ​ +
-else  +else 
-{  Serial.print("​M"​);​  +{  Serial.print("​M"​);​ 
-tone(9, NOTE_E);  +tone(9, NOTE_E); 
-}  +
-+}
  
-else if (ring> 60){  +else if (ring> 60){ 
-if (pinky> 50)  +if (pinky> 50) 
-{ Serial.print("​K"​);​ //RP (ring and pinky)  +{ Serial.print("​K"​);​ //RP (ring and pinky) 
-tone(9, NOTE_F + NOTE_G);  +tone(9, NOTE_F + NOTE_G); 
-          ​ +
-else  +else 
-{  Serial.print("​R"​);​  +{  Serial.print("​R"​);​ 
-tone(9, NOTE_F);  +tone(9, NOTE_F); 
-+}
 } }
 </​code>​ </​code>​
  
 <​code>​ <​code>​
-else if (pinky> 50)  +else if (pinky> 50) 
-{ Serial.print("​P"​); ​      +{ Serial.print("​P"​);​ 
-tone(9, NOTE_G);  +tone(9, NOTE_G); 
-}  +
-else   +else 
-{ Serial.print("​N"​);​  +{ Serial.print("​N"​);​ 
-noTone(9);  +noTone(9);​ 
-+}
  
 delay(10); delay(10);
Line 174: Line 174:
 {{:​fabricademy2017:​students:​ayseesindurmaz:​elektroniks:​img_0636.jpg?​nolink&​800x600|img_0636.jpg}} {{:​fabricademy2017:​students:​ayseesindurmaz:​elektroniks:​img_0636.jpg?​nolink&​800x600|img_0636.jpg}}
  
-{{:​fabricademy2017:​students:​ayseesindurmaz:​elektroniks:​img_0625.jpg?​nolink&​375x500}}{{:​students:​ayseesindurmaz:​electronic:​img_0592.jpg?​nolink&​375x500}}+{{:​fabricademy2017:​students:​ayseesindurmaz:​elektroniks:​img_0625.jpg?​nolink&​375x500|img_0625.jpg}}{{:​students:​ayseesindurmaz:​electronic:​img_0592.jpg?​nolink&​375x500|img_0592.jpg}}
  
 =====   ===== =====   =====
  
-{{ youtube>​BeHa3vqd-G4&​feature?large }}+{{ youtube>​BeHa3vqd-G4?​large }}