PDA

View Full Version : Serout Question



Dick Ivers
- 2nd April 2005, 00:08
The PBP Manual says the Serout command automatically makes Pin an output. I want to multiplex Pin to be an input for some program sections, then use Pin for Serout in another section. The input device will be open during the Serout period.

Question: will Pin automatically revert back to be an input after the Serout command is over? Or, will software code be needed to switch back to input.

NavMicroSystems
- 2nd April 2005, 02:21
You'll need as much code as:

INPUT PortX.n

see PBP Manual Section 5.37