4094 Please Help


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Location
    TURKIYE-KONYA
    Posts
    51


    Did you find this post helpful? Yes | No

    Default 1 data , 1 strb , 1 clk and dozens 4094

    HI DOVEGROUP.

    YOU DONT NEED TO USE EXTRA PINS FOR ANOTHER 4094.YOU CAN USE SAME PORTS.

    YOU CAN CONNECT "Qs DATA OUT" TO ANOTHER 4094.

    Code:
    include "modedefs.bas"
    
        ADCON1  = 7
        
        
        
        STRB  VAR  PORTC.2
        DAT   VAR  PORTC.1
        CLK   VAR  PORTC.0
        
        OUTPUT STRB
        OUTPUT DAT
        OUTPUT CLK
        
        DATA_1  VAR BYTE
        DATA_2  VAR BYTE
        
        DATA_1 = %11000011
        DATA_2 = %10000001
        
        
        
        
        MAIN :
        
        SHIFTOUT DAT , CLK , 1,[DATA_2 , DATA_1]
        STRB = 1  : PAUSEUS 100 :  STRB = 0
        
    
        	
    GOTO MAIN
    Attached Images Attached Images  

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172


    Did you find this post helpful? Yes | No

    Default

    Hmm, although I did proposed that too, dovegroup prefered to do the other way. May be it he needs seperate control over the second chip.

    If there are free pins then it is OK I guess.

    Ioannis

Similar Threads

  1. 16F877 and 4094 please help
    By dovegroup in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 21st May 2014, 14:22

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