Sampling data from the parallel port

parread[]

Remarks

This causes the Slink-e to read a report a single byte from the parallel port. The byte will be returned in a subsquent par[num] response sent by the Slink-e. This provides a polled alternative to the asynchronous, interrrupt driven fashion in which the port will read data if input handshaking is enabled. Even though there are no parameters, the brackets are required on this command.

Example

lowlevel:parread[] samples a byte from the parallel port.