mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Clean up lua API
Rename modem_send() to send() Rename send to write()
This commit is contained in:
parent
4511d74a9e
commit
c49faa7337
6 changed files with 55 additions and 44 deletions
|
|
@ -1,14 +1,14 @@
|
|||
read(1000, 6000) -- initial config
|
||||
send("\n")
|
||||
write("\n")
|
||||
msleep(100)
|
||||
read(650, 60) -- main menu
|
||||
send("S") -- S menu
|
||||
write("S") -- S menu
|
||||
msleep(30)
|
||||
read(650, 60)
|
||||
send("t") -- Parallel Value Table
|
||||
write("t") -- Parallel Value Table
|
||||
read(650, 60)
|
||||
while true do
|
||||
msleep(1000)
|
||||
send("t")
|
||||
write("t")
|
||||
read(650, 50) -- repeat PVT forever
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue