document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. /*
  2.  
  3. Código criado by Gamesh_
  4.  
  5. 13/01/2011
  6.  
  7. http://brasilrobotics.blogspot.com/
  8.  
  9. */
  10.  
  11. int piezoPin = 9;
  12.  
  13. void setup() {
  14.  
  15. pinMode(piezoPin, OUTPUT);
  16.  
  17. }
  18.  
  19. void loop() {
  20.  
  21. digitalWrite(piezoPin, HIGH);
  22.  
  23. delayMicroseconds(600);
  24.  
  25. digitalWrite(piezoPin, LOW);
  26.  
  27. delayMicroseconds(600);
  28.  
  29. }
');