mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
add examples/lua/pts.lua showing one use of read_ts; add read_ts to tio man(1) file
This commit is contained in:
parent
9d74fe9e74
commit
f99a85b9da
2 changed files with 20 additions and 0 deletions
13
examples/lua/pts.lua
Normal file
13
examples/lua/pts.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
send("\n")
|
||||
msleep(100)
|
||||
read_ts(650, 60) -- main menu
|
||||
send("S") -- S menu
|
||||
msleep(30)
|
||||
read_ts(650, 60)
|
||||
send("t") -- Parallel Value Table
|
||||
read_ts(650, 60)
|
||||
while true do
|
||||
msleep(970)
|
||||
send("t")
|
||||
read_ts(650, 50) -- repeat PVT forever
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue