sureshkanna
Junior Member level 1
Hi dear friend
Already i posted my doubts ,but no one reply for that. please solve my problems.
i trying to display character in 8x8 dot matrix display using 74HC595. but i can't
here i added my code and proteus connection .please clear my doubts.
My code :
View attachment 8x8 dot matrix.txt
Already i posted my doubts ,but no one reply for that. please solve my problems.
i trying to display character in 8x8 dot matrix display using 74HC595. but i can't
here i added my code and proteus connection .please clear my doubts.
My code :
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 #define DS PORTD.F0 #define SHCP PORTD.F2 #define STCP PORTD.F1 /*------------------------------------------------------------*/ char a[9]={0xF8, 0x14, 0x12, 0x11, 0x11, 0x12, 0x14, 0xF8}; void main() { TRISB=0x00; TRISD=0x00; PORTB=0x00; for(i=0;i<=7;i++) { PORTB=a[i]; if(i==0) { DS=1; SHCP=0; STCP=1; delay_us(1); SHCP=0; STCP=0; } else if(a>0) { DS=0; SHCP=0; STCP=1; delay_us(1); SHCP=0; STCP=0; } } }
View attachment 8x8 dot matrix.txt
Last edited by a moderator: