I have made moving message but I have a problem
**broken link removed**
**broken link removed**
codes for 74hc154 ;;;;;;;;;
codes for 74hc138 ;;;;;;;;;;;
but I want to do same thing with 74HC595 or CD4094
you can give me sample code
it can be in CCS or MikroC or Ansi-C(keil-iar)
but not in Asm or Pic basic :S
**broken link removed**
**broken link removed**
codes for 74hc154 ;;;;;;;;;
Code:
#include <AT89x51.H>
#include <stdio.h>
#include <delay.c>
#define sayici P2
const char A[]={0x00,0x7C,0x0A,0x09,0x0A,0x7C};
void main (){
for(sayici=0;sayici<7;sayici++){
P0=~A[sayici];
delay_ms(3);
}}
codes for 74hc138 ;;;;;;;;;;;
Code:
#include <AT89x51.H>
#include <stdio.h>
#define sayici P2
#include <delay.c>
const char A[]={0x00,0x7C,0x0A,0x09,0x0A,0x7C};
void main (){
for(sayici=0;sayici<7;sayici++){
P0=~(A[sayici+1]);
delay_ms(3);
}}
but I want to do same thing with 74HC595 or CD4094
you can give me sample code
it can be in CCS or MikroC or Ansi-C(keil-iar)
but not in Asm or Pic basic :S