View Single Post
Old 03 March 2017, 15:17   #77
witchmaster
Registered User

witchmaster's Avatar
 
Join Date: Oct 2008
Location: Finland
Posts: 133
Quote:
Originally Posted by robinsonb5 View Post
Pretty much. Pin 6 is already high when the routine enters the main loop for the first time, and it's explicity set to output mode before the loop starts. And there's a final step, returning pin 6 to input mode and setting it high again.

Incidentally, remember that you're imitating an eight bit shift register, so when you've shifted out your seven buttons, shift out an extra '1' bit. Some routines use this extra bit to detect the presence of a CD32 pad.
Thank you, much appreciated! My work continues...
witchmaster is offline  
 
Page generated in 0.05101 seconds with 9 queries