cancel
Showing results for 
Search instead for 
Did you mean: 

bidirectional GPIO on STM8?

will2
Associate II
Posted on March 26, 2010 at 16:36

bidirectional GPIO on STM8?

1 REPLY 1
will2
Associate II
Posted on May 17, 2011 at 15:07

After playing around with this some more, I found that initializing the Port E pins as open-drain outputs, I can still use PE7 as an input to watch when the LCD is finished processing an instruction.  I set the pin high, and then sit in a while loop while watching for the msb to clear in the input data register for port E.  Seems to be working fine now...