arduino wait

[ad_1]

golang sleep
package main

import (
    "fmt"
    "time"
)

func main() {
    fmt.Printf("Current Unix Time: %v\n", time.Now().Unix())

    time.Sleep(2 * time.Second)

    fmt.Printf("Current Unix Time: %v\n", time.Now().Unix())
}
wait for time javascript
//code before the pause
setTimeout(function(){
    //do what you need here
}, 2000);
arduino wait
delay(1000) // in ms

[ad_2]

Content Protection by DMCA.com
Please Share