1
0
Fork 0
This commit is contained in:
Przemko 2021-11-20 13:03:16 +01:00
parent 13bbba0e07
commit 7793e93b5b
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ s := satel.NewConfig("<ip:port>", satel.Config{EventsQueueSize: 1000})
go func() { go func() {
value := true value := true
for { for {
s.SetOutput("<user code>", <port number> value) s.SetOutput("<user code>", <port number>, value)
time.Sleep(5 * time.Second) time.Sleep(5 * time.Second)
value = !value value = !value
} }