Update getTime.lua
This commit is contained in:
parent
1ac196c8c6
commit
924cfdbb1f
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue