Update getTime.lua

This commit is contained in:
erius0 2021-01-08 17:23:28 +03:00 committed by GitHub
parent 1ac196c8c6
commit 924cfdbb1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,6 @@ local internet = require("internet")
local component = require("component")
local modem = component.modem
local address = "" --адрес беспроводной платы
modem.open(69)
while true do
@ -24,5 +23,5 @@ while true do
f:close()
local datetime = date.." "..hour..":"..min
print(datetime)
modem.send(address, 69, datetime)
modem.broadcast(69, datetime)
end