Link to this comparison view

Both sides previous revision Previous revision
Next 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/08/14 11:06]
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(){//
  
 +//}//
  
 +==== If you do not have an Arduino and want to practice you can do it on this page. [[http://​https://​circuits.io/​|http://​https://​circuits.io/​]]\\
 +You just have to register and start, it's very easy, you just have to choose your components and start programming. ====
  
-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]] //