Clean up lua API

Rename modem_send() to send()
Rename send to write()
This commit is contained in:
Martin Lund 2024-11-30 11:03:40 +01:00
parent 4511d74a9e
commit c49faa7337
6 changed files with 55 additions and 44 deletions

View file

@ -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