Returns the state of the I/O line specified by the num argument.
io.lineget(num as pl_io_num) as low_high
Current line state as LOW or HIGH (low_high enum values)
Line/Port Manipulation Without Pre-selection, io.lineset, io.invert
Platform-specific. See the list of pl_io_num constants in the platform specifications.
No line pre-selection with the io.num property is required and the value of the io.num will not be changed.