ติดตั้ง Steam
เข้าสู่ระบบ
|
ภาษา
简体中文 (จีนตัวย่อ)
繁體中文 (จีนตัวเต็ม)
日本語 (ญี่ปุ่น)
한국어 (เกาหลี)
български (บัลแกเรีย)
Čeština (เช็ก)
Dansk (เดนมาร์ก)
Deutsch (เยอรมัน)
English (อังกฤษ)
Español - España (สเปน)
Español - Latinoamérica (สเปน - ลาตินอเมริกา)
Ελληνικά (กรีก)
Français (ฝรั่งเศส)
Italiano (อิตาลี)
Bahasa Indonesia (อินโดนีเซีย)
Magyar (ฮังการี)
Nederlands (ดัตช์)
Norsk (นอร์เวย์)
Polski (โปแลนด์)
Português (โปรตุเกส - โปรตุเกส)
Português - Brasil (โปรตุเกส - บราซิล)
Română (โรมาเนีย)
Русский (รัสเซีย)
Suomi (ฟินแลนด์)
Svenska (สวีเดน)
Türkçe (ตุรกี)
Tiếng Việt (เวียดนาม)
Українська (ยูเครน)
รายงานปัญหาเกี่ยวกับการแปลภาษา
anyways, take this for free, idiot.
connect a port to the computer, and an antenna to the port.
connect a terminal too.
add this into the sender computer:
display = getDisplays()[1]
port = getPorts()[1]
terminal = getComponents("terminal")[1]
terminal.clear()
text = terminal.read()
if text then
display.clear()
display.drawText(1,1,text)
display.flush()
port.send(text)
end
make sure to keep this on, and the second computer as the receiver.
receiver computer will be connected to a display, and same port/antenna setup with the code:
local port = getPorts()[1]
local display = getDisplays()[1]
function callback_loop()
local package = port.nextPacket()
port.clear()
if package then
display.clear()
display.drawText(1,1,package)
display.flush()
end
end
thanks, buddy