From 924cfdbb1fe2d772c11ba395120d9c049342682d Mon Sep 17 00:00:00 2001 From: erius0 <63460770+erius0@users.noreply.github.com> Date: Fri, 8 Jan 2021 17:23:28 +0300 Subject: [PATCH] Update getTime.lua --- getTime.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/getTime.lua b/getTime.lua index 18e791f..1bf54e9 100644 --- a/getTime.lua +++ b/getTime.lua @@ -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