confusion with the CD74HC165 8 bit register


Results 1 to 30 of 30

Threaded View

  1. #15


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by lerameur View Post
    putting the PL low .. something like that ??
    I would do this (and make sure the CE pin is pulled low always) :
    Code:
    TRISE = %11111100 	' Set PORTE to all input
                
    Clock   var PORTE.0   'CP
    Load    var PORTE.1   'PL
    Data_1  var PORTE.2  'Q7  out
    input1 var byte
    
    low Load
                 
    Mainloop:
    
      high Load
      shiftin Data_1,Clock,0,[input1 \8]
      low Load
    
      lcdout $FE,1, "Shift in"
      lcdout $FE,$C0, dec2 input1
      pause 300
    			
    GOTO Mainloop
    End
    Last edited by falingtrea; - 14th December 2010 at 19:51. Reason: spelling error
    Tim Barr

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts