Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int sensorReading = 0;
- void setup()
- {
- pinMode(9, OUTPUT);
- }
- void loop()
- {
- for(int tring=1;tring<=2;tring++){
- for(int i=1;i<=10;i++){
- tone(9, 600 , 1000);
- delay(30);
- tone(9, 1000 , 1000);
- delay(30);
- }
- delay(2000);
- }
- delay(10); // Delay a little bit to improve simulation performance
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement