Joined: 03 Dec 2008 Posts: 184 Location: Gresham, OR USA
Read Output Pin Setting
Posted: Thu Jul 24, 2014 4:24 pm
Processor: 18F67K22
Compiler: 4.135
I'm using digital I/O to control a bunch of relays and I need to send out some diagnostics via serial port to show which output pins are set high.
How can I read the settings of my output pins, without affecting anything? I want to be sure the compiler doesn't change my outputs to an input when it does the read. It seems like such a simple thing but a forum and manual search doesn't doesn't yield the results I'm looking for. Perhaps I'm just tired...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum