Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
fabricademy2017:students:anamaria.martinlopez:arduino [2018/03/17 13:27]
anamaria.martinlopez
fabricademy2017:students:anamaria.martinlopez:arduino [2018/03/17 14:09]
anamaria.martinlopez
Line 132: Line 132:
 delay(500); delay(500);
  
-tone(5,​294,​500);​ // write to buzzer delay(500); tone(5,​294,​500);​ // write to buzzer+tone(5,​294,​500);​ // write to buzzer ​// 
 + 
 +//delay(500);// 
 + 
 +//tone(5,​294,​500);​ // write to buzzer
  
 delay(500); delay(500);
  
-tone(5,​262,​1000);​ // write to buzzer  +tone(5,​262,​1000);​ // write to buzzer// 
-delay(1000);​ + 
- ​_loop();​ +//delay(1000); ​// 
- } + 
- void _delay(float seconds){ +//_loop();// 
- long endTime = millis() + seconds * 1000; + 
- ​while(millis() < endTime)_loop();​ +//}// 
- } + 
- void _loop(){ +//void _delay(float seconds){ ​// 
- ​} ​+ 
 +//long endTime = millis() + seconds * 1000;//
  
 +//​while(millis() < endTime)_loop();//​
  
 +//}//
  
 +//void _loop(){//
  
 +//}//
  
-Back http://​wiki.textile-academy.org/​fabricademy2017/​students/​anamaria.martinlopez/​final_project+//Back [[http://​wiki.textile-academy.org/​fabricademy2017/​students/​anamaria.martinlopez/​final_project|http://​wiki.textile-academy.org/​fabricademy2017/​students/​anamaria.martinlopez/​final_project]] //