Back to Parent

int sPin = D0;

void setup() {
    pinMode(sPin, OUTPUT);
}

void loop() {
    //Small Clinks
    for(int i = 0; i < 5; i++) {
        analogWrite(sPin, 130);
        delay(100);
        analogWrite(sPin, 0);
        delay(100);
    }
    //Big Clink
    analogWrite(sPin,220);
    delay(500);
    analogWrite(sPin, 0);
    delay(500);
}
Click to Expand

Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0