hello
I wrote this for the 16F877 for 2 4094
The first 4094 works correctly the second not
What I do wrong please help
thanks
[IMG]http://i279.photobucket.com/albums/k...isst/demo1.png[/IMG]Code:INCLUDE "modedefs.bas"
TRISC = %00000000
symbol clock=portc.0
symbol data_pin=portc.1
symbol strb=PORTc.2
symbol data_pin2=portc.3
main:
high strb
high data_pin 'FOR STROBE HIGH
ShiftOut data_pin,clock,1,[%11000011]
low strb
low data_pin
high strb
high data_pin2
ShiftOut data_pin,clock,1,[%10000001]
low strb
low data_pin2
pause 2000
goto main