4094 Please Help


Results 1 to 7 of 7

Threaded View

  1. #6
    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  

Similar Threads

  1. 16F877 and 4094 please help
    By dovegroup in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 21st May 2014, 13: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