Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

LED Scrolling Message Source Code

Status
Not open for further replies.

Compy

Member level 2
Member level 2
Joined
Jan 24, 2005
Messages
52
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
454
Hi, i have made this circuit but its source code is written in Assembly and my project is in C++ .. m looking for source code which could write A on this circuit..

then i'll write for others by myself..

just need a start.. thanks
 

the best thing to do is to translate the code from assembly to C which shouldn't be too difficult. Post the code here.
the circuit seems simple enough and the code in C can also be written from scratch. All you need to know is how to control the parallel port.
 

this Circuit Multiplexing the led
if you want my advice
use a uP and a Eeprom to store the Message then u can save work to the PC and speedup your Soft
 

please post your assemply code and the expected result and i will provide you with equavilent C++ code,
thanks
 
Hi here is the file which has asm file as well exe file for this project.

i need C++ version of this code..

tx
 

mmm No reply...

well are there some tools which convert Assembly code into C++ ?
 
  • Like
Reactions: eeye

    eeye

    Points: 2
    Helpful Answer Positive Rating
Here is the Default Fonts
Code:
Font	db    0	; NUL  Ascii character
	db    0	
	db    0	
	db    0	
	db    0	
	db    0	
;01 ASCII code
	db    1	
	db    1	
	db    1	
	db    1
	db    1	
	db    1	
;02 
	db    2	
	db    2 
	db    2	
	db    2 
	db    2	
	db    2	
;03
	db  3h	
	db  3h	
	db  3h	
	db  3h	
	db  3h	
	db    3	
;04 
	db  4h	
	db  4h	
	db  4h	
	db  4h	
	db  4h	
	db    4	
;05
	db  5h	
	db  5h	
	db    5	
	db  5h	
	db  5h	
	db    5	
;06
	db  6h	
	db  6h	
	db  6h	
	db  6h	
	db  6h	
	db    6	
;07
	db    07	
	db    07	
	db    7	
	db    07	
	db    07	
	db    07	
;08 
	db  8h	
	db  8h	
	db  8h	
	db    08	
	db    08	
	db    08	
;09 
	db    09	
	db    09	
	db  9h	
	db  9h	
	db  9h	
	db    9	
;0A
	db  0Ah	
	db  0Ah	
	db  0Ah	
	db  0Ah	
	db  0Ah	
	db    0Ah	
;0B 
	db    0Bh	
	db    0bh	
	db  0Bh	
	db    0Bh	
	db    0Bh	
	db    0Bh	
;0C 
	db    0Ch	
	db  0Ch	
	db  0Ch	
	db    0Ch	
	db    0Ch	
	db    0Ch	
;0D 
	db    0Dh	
	db    0Dh	
	db    0Dh	
	db    0Dh	
	db    0Dh	
	db    0Dh	
;0E 
	db    0Eh	
	db    0Eh	
	db 	0Eh	
	db    0Eh	
	db    0Eh	
	db    0Eh	
;0F 
	db  0Fh	
	db  0Fh	
	db   0Fh	
	db   0Fh	
	db    0Fh	
	db    0Fh	
;10
	db    0 
	db    0	
	db    0	
	db    0	
	db    0	
	db    0	
;11 
	db    0	
	db    0	
	db    0	
	db  	0	
	db    0	
	db    0	
;12 
	db    0	
	db    0	
	db    0	
	db    0	
	db    0	
	db    0	
;13
	db  14h	
	db  7Fh	
	db  14h	
	db  7Fh	
	db  14h	
	db    0	
;14 
	db  24h	
	db  2Ah	
	db  7Fh	
	db  2Ah	
	db  12h	
	db    0	
;15
	db  23h	
	db  13h	
	db    8	
	db  64h	
	db  62h	
	db    0	
;16
	db  36h	
	db  49h	
	db  56h	
	db  20h	
	db  50h	
	db    0	
;17
	db    0	
	db    0	
	db    7	
	db    0	
	db    0	
	db    0	
;18 
	db  1Ch	
	db  22h	
	db  41h	
	db    0	
	db    0	
	db    0	
;19 
	db    0	
	db    0	
	db  41h	
	db  22h	
	db  1Ch	
	db    0	
;1A
	db  22h	
	db  14h	
	db  7Fh	
	db  14h	
	db  22h	
	db    0	
;1B 
	db    8	
	db    8	
	db  3Eh	
	db    8	
	db    8	
	db    0	
;1C 
	db    0	
	db  40h	
	db  30h	
	db    0	
	db    0	
	db    0	
;1D 
	db    8	
	db    8	
	db    8	
	db    8	
	db    8	
	db    0	
;1E 
	db    0	
	db    0	
	db  40h	
	db    0	
	db    0	
	db    0	
;1F 
	db  20h	
	db  10h	
	db    8	
	db    4	
	db    2	
	db    0	
;20 ASCII Space character
	db    0	
	db    0	
	db    0	
	db    0	
	db    0	
	db    0	
;! 
	db    0	;  
	db    0	;  
	db    0	;  
	db  5Fh	; 01011111
	db    0	; 
	db    0	; 
;" 
	db    0	;  
	db    7	; 00000111 
	db    0	;  
	db    7	; 00000111 
	db    0	;  
	db    0	;  
;#
	db  14h	; 00010100
	db  7Fh	; 01111111
	db  14h	; 00010100 
	db  7Fh	; 01111111
	db  14h	; 00010100
	db    0	; 
;$ 
	db  24h	; 00100100
	db  2Ah	; 00101010
	db  7Fh	; 01111111
	db  2Ah	; 00101010
	db  12h	; 00010010 
	db    0	; 
;%
	db  23h	; 00100011
	db  13h	; 00010011 
	db    8	; 00001000 
	db  64h	; 01101000
	db  62h	; 01100010
	db    0	; 
;&
	db  36h	; 00110110
	db  49h	; 01001001
	db  56h	; 01010110
	db  20h	; 00100000
	db  50h	; 01010000
	db    0	; 
;'
	db    0	;  
	db    0	;  
	db    7	; 00000111 
	db    0	;  
	db    0	;  
	db    0	; 
;( 
	db  1Ch	; 00011100
	db  22h	; 00100010
	db  41h	; 01000001
	db    0	;  
	db    0	;  
	db    0	; 
;) 
	db    0	;  
	db    0	;  
	db  41h	; 01000001
	db  22h	; 00100010
	db  1Ch	; 00011100 
	db    0	; 
;*
	db  22h	; "
	db  14h	;  
	db  7Fh	; 
	db  14h	;  
	db  22h	; "
	db    0	; 
;+ 
	db    8	; 00001000
	db    8	; 00001000 
	db  3Eh	; 00111110
	db    8	; 00001000 
	db    8	; 00001000 
	db    0	; 
;, 
	db    0	;  
	db  40h	; 00100000
	db  30h	; 00110000
	db    0	;  
	db    0	;  
	db    0	; 
;- 
	db    8	; 00001000 
	db    8	; 00001000 
	db    8	; 00001000 
	db    8	; 00001000 
	db    8	; 00001000 
	db    0	; 
;. 
	db    0	;  
	db    0	;  
	db  40h	; 01000000
	db    0	;  
	db    0	;  
	db    0	; 
;/ 
	db  20h	; 00100000 
	db  10h	; 00010000 
	db    8	; 00001000 
	db    4	; 00000100 
	db    2	; 00000010 
	db    0	; 
;0 
	db  3Eh	
	db  51h	
	db  49h	
	db  45h	
	db  3Eh	
	db    0	
;1 
	db    0	
	db  42h	
	db  7Fh	
	db  40h	
	db    0	
	db    0	
;2 
	db  70h	
	db  49h	
	db  49h	
	db  49h	
	db  46h	
	db    0	
;3 
	db  21h	
	db  41h	
	db  49h	
	db  4Dh	
	db  33h	
	db    0	
;4 
	db  18h	
	db  14h	
	db  12h	
	db  7Fh	
	db  10h	
	db    0	
;5 
	db  27h	
	db  45h	
	db  45h	
	db  45h	
	db  39h	
	db    0	
;6 
	db  3Ch	
	db  52h	
	db  49h	
	db  49h	
	db  31h	
	db    0	
;7 
	db  41h	
	db  21h	
	db  11h	
	db    9	
	db    7	
	db    0	
;8 
	db  36h	
	db  49h	
	db  49h	
	db  49h	
	db  36h	
	db    0	
;9 
	db  46h	
	db  49h	
	db  49h	
	db  29h	
	db  1Eh	
	db    0	
;: 
	db    0	
	db    0	
	db  14h	
	db    0	
	db    0	
	db    0	
;; 
	db    0	
	db  40h	
	db  34h	
	db    0	
	db    0	
	db    0	
;< 
	db    8	
	db  14h	
	db  22h	
	db  41h	
	db    0	
	db    0	
;= 
	db  14h	
	db  14h	
	db  14h	
	db  14h	
	db  14h	
	db    0	
;> 
	db    0	
	db  41h	
	db  22h	
	db  14h	
	db    8	
	db    0	
;? 
	db    2	; 00000010
	db    1	; 00000001
	db  59h	; 01011001
	db    9	; 00001001
	db    6	; 00001010 
	db    0	; 
;@ 
	db  3Eh	; 00111110
	db  41h	; 01000001
	db  5Dh	; 01011101
	db  55h	; 01010101
	db  1Eh	; 00011110
	db  0h	;
;A
	db  7Ch	; 01111100 
	db  12h	; 00010010
	db  11h	; 00010001 
	db  12h	; 00010010 
	db  7Ch	; 01111100
	db    0	; 
;B 
	db  7Fh	
	db  49h	
	db  49h	
	db  49h	
	db  36h	
	db    0	
;C 
	db  3Eh	
	db  41h	
	db  41h	
	db  41h	
	db  22h	
	db    0	
;D 
	db  7Fh	
	db  41h	
	db  41h	
	db  41h	
	db  3Eh	
	db    0	
;E 
	db  7Fh	
	db  49h	
	db  49h	
	db  49h	
	db  41h	
	db    0	
;F 
	db  7Fh	
	db    9	
	db    9	
	db    9	
	db    1	
	db    0	
;G 
	db  3Eh	
	db  41h	
	db  41h	
	db  51h	
	db  73h	
	db    0	
;H 
	db  7Fh	
	db    8	
	db    8	
	db    8	
	db  7Fh	
	db    0	
;I 
	db    0	
	db  41h	
	db  7Fh	
	db  41h	
	db    0	
	db    0	
;J  
	db  20h	
	db  40h	
	db  40h	
	db  40h	
	db  3Fh	
	db    0	
;K 
	db  7Fh	
	db    8	
	db  14h	
	db  22h	
	db  41h	
	db    0	
;L 
	db  7Fh	
	db  40h	
	db  40h	
	db  40h	
	db  40h	
	db    0	
;M 
	db  7Fh	
	db    2	
	db  1Ch	
	db    2	
	db  7Fh	
	db    0	
;N 
	db  7Fh	
	db    4	
	db    8	
	db  10h	
	db  7Fh	
	db    0	
;O 
	db  3Eh	
	db  41h	
	db  41h	
	db  41h	
	db  3Eh	
	db    0	
;P 
	db  7Fh	
	db    9	
	db    9	
	db    9	
	db    6	
	db    0	
;Q 
	db  3Eh	
	db  41h	
	db  51h	
	db  21h	
	db  5Eh	
	db    0	
;R 
	db  7Fh	
	db    9	
	db  19h	
	db  29h	
	db  46h	
	db    0	
;S 
	db  26h	
	db  49h	
	db  49h	
	db  49h	
	db  32h	
	db    0	
;T 
	db    1	
	db    1	
	db  7Fh	
	db    1	
	db    1	
	db    0	
;U 
	db  3Fh	
	db  40h	
	db  40h	
	db  40h	
	db  3Fh	
	db    0	
;V 
	db    7	
	db  18h	
	db  60h	
	db  18h	
	db    7	
	db    0	
;W 
	db  3Fh	
	db  40h	
	db  38h	
	db  40h	
	db  3Fh	
	db    0	
;X 
	db  63h	
	db  14h	
	db    8	
	db  14h	
	db  63h	
	db    0	
;Y 
	db    3	
	db    4	
	db  78h	
	db    4	
	db    3	
	db    0	
;Z 
	db  61h	; 01100001
	db  51h	; 01010001
	db  49h	; 00101001
	db  45h	; 00100101
	db  43h	; 00100011
	db    0	; 
;[ 
	db    0h	;  
	db    7Fh	;  
	db    41h	;  
	db    41h	;  
	db    0	;  
	db    0	; 
;\ 
	db    2	; 00000010
	db    4	; 00000100 
	db    8	; 00001000 
	db    10h	; 00010000 
	db    20h	; 00100000 
	db    0	; 
;] 
	db    0	;  
	db    41h	;  
	db    41h	;  
	db    7Fh	;  
	db    0	;  
	db    0	;  
;^
	db    4	; 00000100 
	db    2	; 00000010 
	db    1	; 00000001 
	db    2	; 00000010 
	db    4	; 00000100 
	db    0	; 
;_ 
	db    40h	; 01000000 
	db    40h	; 01000000 
	db    40h	; 01000000 
	db    40h	; 01000000 
	db    40h	; 01000000 
	db    0	; 
;`
	db    0	;  
	db    0	;  
	db    3	; 00000011 
	db    5	; 00000101 
	db    0	;  
	db    0	;  
;a 
	db  20h	; 00100000
	db  54h	; 01010100
	db  54h	; 01010100 
	db  54h	; 01010100 
	db  78h	; 01111000
	db    0	; 
;b 
	db  7Fh	; 01111111
	db  44h	; 01000100
	db  44h	; 01000100
	db  44h	; 01000100
	db  38h	; 00111000
	db    0	; 
;c 
	db  38h	; 00111000
	db  44h	; 01000100
	db  44h	; 01000100
	db  44h	; 01000100
	db  44h	; 01000100
	db    0	; 
;d 
	db  738h	; 00111000
	db  44h	; 01000100
	db  44h	; 01000100
	db  44h	; 01000100
	db  7Fh	; 01111111
	db    0	; 
;e 
	db  38h	; 00111000
	db  54h	; 01010100
	db  54h	; 01010100
	db  54h	; 01010100
	db  18h	; 00011000
	db    0	; 
;f 
	db  04h	; 00000100
	db   04h	; 00000100 
	db    7Eh	; 01111110
	db    05h	; 00000101 
	db    05h	; 00000101 
	db    0	; 
;g 
	db  08h	; 00001000
	db  54h	; 01010100
	db  54h	; 01010100
	db  54h	; 01010100
	db  73Ch	; 00111100
	db    0	; 
;h 
	db  7Fh	; 01111111
	db    8	; 00001000 
	db    4	; 00000100 
	db    4	; 00000100 
	db  78h	; 01111000
	db    0	; 
;i 
	db    0	;  
	db  44h	; 01000100
	db  7Dh	; 01111101
	db  40h	; 01000000
	db    0	;  
	db    0	; 
;j 
	db  20h	; 00100000 
	db  40h	; 01000000
	db  44h	; 01000100
	db  3Dh	; 00111101
	db  0h	; 
	db    0	; 
;k 
	db  7Fh	; 01111111
	db  10h	; 00010000 
	db  28h	; 00101000 
	db  44h	; 01000100
	db  0h	; 
	db    0	; 
;l 
	db  0h	; 
	db  41h	; 01000001
	db  7Fh	; 01111111
	db  40h	; 01000000
	db  0h	; 
	db    0	; 
;m 
	db  7Ch	; 01111100
	db    04h	; 00000100 
	db  78h	; 01111000 
	db    4	; 00000100 
	db  78h	; 01111000
	db    0	; 
;n 
	db  7Ch	; 01111100
	db    8	; 00001000 
	db    4	; 00000100 
	db  04h	; 00000100 
	db  78h	; 01111000
	db    0	; 
;o 
	db  38h	; 00111000
	db  44h	; 01000100
	db  44h	; 01000100
	db  44h	; 01000100
	db  38h	; 00111000
	db    0	; 
;p 
	db  7Ch	; 01111100
	db    14h	; 00010100 
	db    14h	; 00010100 
	db    14h	; 00010100 
	db    8	; 00001000 
	db    0	; 
;q 
	db  08h	; 00001000
	db  14h	; 00010100
	db  14h	; 00010100
	db  14h	; 00010100
	db  7Ch	; 01111100
	db    0	; 
;r 
	db  7Ch	; 01111100
	db    8	; 00001000 
	db  04h	; 00000100 
	db  04h	; 00000100
	db  0		; 
	db    0	; 
;s 
	db  48h	; 01001000
	db  54h	; 01010100
	db  54h	; 01010100
	db  54h	; 01010100
	db  20h	; 00100000
	db    0	; 
;t 
	db    4	; 00000100 
	db    4	; 00000100 
	db  3Fh	; 00111111
	db    44h	; 01000100
	db    44h	; 01000100
	db    0	; 
;u 
	db  3Ch	; 00111100
	db  40h	; 01000000
	db  40h	; 01000000
	db  20h	; 00100000
	db  7Ch	; 01111100
	db    0	; 
;v 
	db    1Ch	; 00011100 
	db  20h	; 00100000 
	db  40h	; 01000000
	db  20h	; 00100000 
	db    1Ch	; 00011100 
	db    0	;  
;w
	db  3Ch	; 00111100
	db  40h	; 01000000
	db  30h	; 00110000
	db  40h	; 01000000
	db  3Ch	; 00111100
	db    0	;  
;x
	db  44h	; 01000100
	db  28h	; 00101000 
	db    10h	; 00010000 
	db  28h	; 00101000 
	db  44h	; 01000100
	db    0	;  
;y
	db    0Ch	; 00001100 
	db    50h	; 01010000 
	db  50h	; 01010000
	db    50h	; 01010000 
	db    3Ch	; 00111100
	db    0	;  
;z
	db  44h	; 01000100
	db  64h	; 01100100
	db  54h	; 01010100
	db  4Ch	; 01001100
	db  44h	; 01000100
	db    0	; 
;{ 
	db    0	;  
	db    8	; 00001000 
	db    36h	; 00110110 
	db    41h	; 01000001 
	db    41h	; 01000001 
	db    0	;  
;|
	db    0	;  
	db    0	;  
	db    7Fh	;  
	db    0	;  
	db    0	;  
	db    0	;  
;}
	db    41h	; 01000001 
	db    41h	; 01000001 
	db    36h	; 00110110 
	db    8	; 00001000 
	db    0	;  
	db    0	;
;~
	db    2	; 00000010
	db    1	; 00000001
	db    2	; 00000010
	db    4	; 00000100
	db    2	; 00000010
	db    0	;
; last 7 bit ASCII character
         db 7Fh
         db 7Fh
         db 7Fh
         db 7Fh
         db 7Fh
         db 0
; End of Font table


u can see the Letter in the Comments

i will explain you in short how this Device work

let Write the b

u have that
Code:
;b 
	db  7Fh	; 01111111
	db  44h	; 01000100
	db  44h	; 01000100
	db  44h	; 01000100
	db  38h	; 00111000
	db    0	;
u need to Seletect the First Columm using the 3 pins connected to 74ls164
then u send the 7Fh ; 01111111 in the Rows.
and Select the second Columm & send the 44h ; 01000100
etc etc

if you look like -> that
u can see a b


Code:
 1111111
 1   1
 1   1
 1   1
  111


the Led need to Blink Very Quickly to seem On in the same Time
the pc can do that
but your soft need to stay in a Endless Loop to leave the Message on

to scrolle it
u need only to change from Colum 1 to 2 and 2 to 3 etc etc

Regard
i hope i helped you a little
 

i am very implressed of your assemply code;
i will try to translate it to c+ then post to you again,
wirhing you the best of luck
 

tx for the help

but i needed to know the architecture of the code
it would be nice if all code is translated..

btw Thanks again
 

Hi what if i want to transfer this project to USB
need resources and diagrams

Thanks
 

can i use this code in assembly language

Cortex said:
Here is the Default Fonts
Code:
Font	db    0	; NUL  Ascii character
	db    0	
	db    0	
	db    0	
	db    0	
	db    0	
;01 ASCII code
	db    1	
	db    1	
	db    1	
	db    1
	db    1	
	db    1	
;02 
	db    2	
	db    2 
	db    2	
	db    2 
	db    2	
	db    2	
;03
	db  3h	
	db  3h	
	db  3h	
	db  3h	
	db  3h	
	db    3	
;04 
	db  4h	
	db  4h	
	db  4h	
	db  4h	
	db  4h	
	db    4	
;05
	db  5h	
	db  5h	
	db    5	
	db  5h	
	db  5h	
	db    5	
;06
	db  6h	
	db  6h	
	db  6h	
	db  6h	
	db  6h	
	db    6	
;07
	db    07	
	db    07	
	db    7	
	db    07	
	db    07	
	db    07	
;08 
	db  8h	
	db  8h	
	db  8h	
	db    08	
	db    08	
	db    08	
;09 
	db    09	
	db    09	
	db  9h	
	db  9h	
	db  9h	
	db    9	
;0A
	db  0Ah	
	db  0Ah	
	db  0Ah	
	db  0Ah	
	db  0Ah	
	db    0Ah	
;0B 
	db    0Bh	
	db    0bh	
	db  0Bh	
	db    0Bh	
	db    0Bh	
	db    0Bh	
;0C 
	db    0Ch	
	db  0Ch	
	db  0Ch	
	db    0Ch	
	db    0Ch	
	db    0Ch	
;0D 
	db    0Dh	
	db    0Dh	
	db    0Dh	
	db    0Dh	
	db    0Dh	
	db    0Dh	
;0E 
	db    0Eh	
	db    0Eh	
	db 	0Eh	
	db    0Eh	
	db    0Eh	
	db    0Eh	
;0F 
	db  0Fh	
	db  0Fh	
	db   0Fh	
	db   0Fh	
	db    0Fh	
	db    0Fh	
;10
	db    0 
	db    0	
	db    0	
	db    0	
	db    0	
	db    0	
;11 
	db    0	
	db    0	
	db    0	
	db  	0	
	db    0	
	db    0	
;12 
	db    0	
	db    0	
	db    0	
	db    0	
	db    0	
	db    0	
;13
	db  14h	
	db  7Fh	
	db  14h	
	db  7Fh	
	db  14h	
	db    0	
;14 
	db  24h	
	db  2Ah	
	db  7Fh	
	db  2Ah	
	db  12h	
	db    0	
;15
	db  23h	
	db  13h	
	db    8	
	db  64h	
	db  62h	
	db    0	
;16
	db  36h	
	db  49h	
	db  56h	
	db  20h	
	db  50h	
	db    0	
;17
	db    0	
	db    0	
	db    7	
	db    0	
	db    0	
	db    0	
;18 
	db  1Ch	
	db  22h	
	db  41h	
	db    0	
	db    0	
	db    0	
;19 
	db    0	
	db    0	
	db  41h	
	db  22h	
	db  1Ch	
	db    0	
;1A
	db  22h	
	db  14h	
	db  7Fh	
	db  14h	
	db  22h	
	db    0	
;1B 
	db    8	
	db    8	
	db  3Eh	
	db    8	
	db    8	
	db    0	
;1C 
	db    0	
	db  40h	
	db  30h	
	db    0	
	db    0	
	db    0	
;1D 
	db    8	
	db    8	
	db    8	
	db    8	
	db    8	
	db    0	
;1E 
	db    0	
	db    0	
	db  40h	
	db    0	
	db    0	
	db    0	
;1F 
	db  20h	
	db  10h	
	db    8	
	db    4	
	db    2	
	db    0	
;20 ASCII Space character
	db    0	
	db    0	
	db    0	
	db    0	
	db    0	
	db    0	
;! 
	db    0	;  
	db    0	;  
	db    0	;  
	db  5Fh	; 01011111
	db    0	; 
	db    0	; 
;" 
	db    0	;  
	db    7	; 00000111 
	db    0	;  
	db    7	; 00000111 
	db    0	;  
	db    0	;  
;#
	db  14h	; 00010100
	db  7Fh	; 01111111
	db  14h	; 00010100 
	db  7Fh	; 01111111
	db  14h	; 00010100
	db    0	; 
;$ 
	db  24h	; 00100100
	db  2Ah	; 00101010
	db  7Fh	; 01111111
	db  2Ah	; 00101010
	db  12h	; 00010010 
	db    0	; 
;%
	db  23h	; 00100011
	db  13h	; 00010011 
	db    8	; 00001000 
	db  64h	; 01101000
	db  62h	; 01100010
	db    0	; 
;&
	db  36h	; 00110110
	db  49h	; 01001001
	db  56h	; 01010110
	db  20h	; 00100000
	db  50h	; 01010000
	db    0	; 
;'
	db    0	;  
	db    0	;  
	db    7	; 00000111 
	db    0	;  
	db    0	;  
	db    0	; 
;( 
	db  1Ch	; 00011100
	db  22h	; 00100010
	db  41h	; 01000001
	db    0	;  
	db    0	;  
	db    0	; 
;) 
	db    0	;  
	db    0	;  
	db  41h	; 01000001
	db  22h	; 00100010
	db  1Ch	; 00011100 
	db    0	; 
;*
	db  22h	; "
	db  14h	;  
	db  7Fh	; 
	db  14h	;  
	db  22h	; "
	db    0	; 
;+ 
	db    8	; 00001000
	db    8	; 00001000 
	db  3Eh	; 00111110
	db    8	; 00001000 
	db    8	; 00001000 
	db    0	; 
;, 
	db    0	;  
	db  40h	; 00100000
	db  30h	; 00110000
	db    0	;  
	db    0	;  
	db    0	; 
;- 
	db    8	; 00001000 
	db    8	; 00001000 
	db    8	; 00001000 
	db    8	; 00001000 
	db    8	; 00001000 
	db    0	; 
;. 
	db    0	;  
	db    0	;  
	db  40h	; 01000000
	db    0	;  
	db    0	;  
	db    0	; 
;/ 
	db  20h	; 00100000 
	db  10h	; 00010000 
	db    8	; 00001000 
	db    4	; 00000100 
	db    2	; 00000010 
	db    0	; 
;0 
	db  3Eh	
	db  51h	
	db  49h	
	db  45h	
	db  3Eh	
	db    0	
;1 
	db    0	
	db  42h	
	db  7Fh	
	db  40h	
	db    0	
	db    0	
;2 
	db  70h	
	db  49h	
	db  49h	
	db  49h	
	db  46h	
	db    0	
;3 
	db  21h	
	db  41h	
	db  49h	
	db  4Dh	
	db  33h	
	db    0	
;4 
	db  18h	
	db  14h	
	db  12h	
	db  7Fh	
	db  10h	
	db    0	
;5 
	db  27h	
	db  45h	
	db  45h	
	db  45h	
	db  39h	
	db    0	
;6 
	db  3Ch	
	db  52h	
	db  49h	
	db  49h	
	db  31h	
	db    0	
;7 
	db  41h	
	db  21h	
	db  11h	
	db    9	
	db    7	
	db    0	
;8 
	db  36h	
	db  49h	
	db  49h	
	db  49h	
	db  36h	
	db    0	
;9 
	db  46h	
	db  49h	
	db  49h	
	db  29h	
	db  1Eh	
	db    0	
;: 
	db    0	
	db    0	
	db  14h	
	db    0	
	db    0	
	db    0	
;; 
	db    0	
	db  40h	
	db  34h	
	db    0	
	db    0	
	db    0	
;< 
	db    8	
	db  14h	
	db  22h	
	db  41h	
	db    0	
	db    0	
;= 
	db  14h	
	db  14h	
	db  14h	
	db  14h	
	db  14h	
	db    0	
;> 
	db    0	
	db  41h	
	db  22h	
	db  14h	
	db    8	
	db    0	
;? 
	db    2	; 00000010
	db    1	; 00000001
	db  59h	; 01011001
	db    9	; 00001001
	db    6	; 00001010 
	db    0	; 
;@ 
	db  3Eh	; 00111110
	db  41h	; 01000001
	db  5Dh	; 01011101
	db  55h	; 01010101
	db  1Eh	; 00011110
	db  0h	;
;A
	db  7Ch	; 01111100 
	db  12h	; 00010010
	db  11h	; 00010001 
	db  12h	; 00010010 
	db  7Ch	; 01111100
	db    0	; 
;B 
	db  7Fh	
	db  49h	
	db  49h	
	db  49h	
	db  36h	
	db    0	
;C 
	db  3Eh	
	db  41h	
	db  41h	
	db  41h	
	db  22h	
	db    0	
;D 
	db  7Fh	
	db  41h	
	db  41h	
	db  41h	
	db  3Eh	
	db    0	
;E 
	db  7Fh	
	db  49h	
	db  49h	
	db  49h	
	db  41h	
	db    0	
;F 
	db  7Fh	
	db    9	
	db    9	
	db    9	
	db    1	
	db    0	
;G 
	db  3Eh	
	db  41h	
	db  41h	
	db  51h	
	db  73h	
	db    0	
;H 
	db  7Fh	
	db    8	
	db    8	
	db    8	
	db  7Fh	
	db    0	
;I 
	db    0	
	db  41h	
	db  7Fh	
	db  41h	
	db    0	
	db    0	
;J  
	db  20h	
	db  40h	
	db  40h	
	db  40h	
	db  3Fh	
	db    0	
;K 
	db  7Fh	
	db    8	
	db  14h	
	db  22h	
	db  41h	
	db    0	
;L 
	db  7Fh	
	db  40h	
	db  40h	
	db  40h	
	db  40h	
	db    0	
;M 
	db  7Fh	
	db    2	
	db  1Ch	
	db    2	
	db  7Fh	
	db    0	
;N 
	db  7Fh	
	db    4	
	db    8	
	db  10h	
	db  7Fh	
	db    0	
;O 
	db  3Eh	
	db  41h	
	db  41h	
	db  41h	
	db  3Eh	
	db    0	
;P 
	db  7Fh	
	db    9	
	db    9	
	db    9	
	db    6	
	db    0	
;Q 
	db  3Eh	
	db  41h	
	db  51h	
	db  21h	
	db  5Eh	
	db    0	
;R 
	db  7Fh	
	db    9	
	db  19h	
	db  29h	
	db  46h	
	db    0	
;S 
	db  26h	
	db  49h	
	db  49h	
	db  49h	
	db  32h	
	db    0	
;T 
	db    1	
	db    1	
	db  7Fh	
	db    1	
	db    1	
	db    0	
;U 
	db  3Fh	
	db  40h	
	db  40h	
	db  40h	
	db  3Fh	
	db    0	
;V 
	db    7	
	db  18h	
	db  60h	
	db  18h	
	db    7	
	db    0	
;W 
	db  3Fh	
	db  40h	
	db  38h	
	db  40h	
	db  3Fh	
	db    0	
;X 
	db  63h	
	db  14h	
	db    8	
	db  14h	
	db  63h	
	db    0	
;Y 
	db    3	
	db    4	
	db  78h	
	db    4	
	db    3	
	db    0	
;Z 
	db  61h	; 01100001
	db  51h	; 01010001
	db  49h	; 00101001
	db  45h	; 00100101
	db  43h	; 00100011
	db    0	; 
;[ 
	db    0h	;  
	db    7Fh	;  
	db    41h	;  
	db    41h	;  
	db    0	;  
	db    0	; 
;\ 
	db    2	; 00000010
	db    4	; 00000100 
	db    8	; 00001000 
	db    10h	; 00010000 
	db    20h	; 00100000 
	db    0	; 
;] 
	db    0	;  
	db    41h	;  
	db    41h	;  
	db    7Fh	;  
	db    0	;  
	db    0	;  
;^
	db    4	; 00000100 
	db    2	; 00000010 
	db    1	; 00000001 
	db    2	; 00000010 
	db    4	; 00000100 
	db    0	; 
;_ 
	db    40h	; 01000000 
	db    40h	; 01000000 
	db    40h	; 01000000 
	db    40h	; 01000000 
	db    40h	; 01000000 
	db    0	; 
;`
	db    0	;  
	db    0	;  
	db    3	; 00000011 
	db    5	; 00000101 
	db    0	;  
	db    0	;  
;a 
	db  20h	; 00100000
	db  54h	; 01010100
	db  54h	; 01010100 
	db  54h	; 01010100 
	db  78h	; 01111000
	db    0	; 
;b 
	db  7Fh	; 01111111
	db  44h	; 01000100
	db  44h	; 01000100
	db  44h	; 01000100
	db  38h	; 00111000
	db    0	; 
;c 
	db  38h	; 00111000
	db  44h	; 01000100
	db  44h	; 01000100
	db  44h	; 01000100
	db  44h	; 01000100
	db    0	; 
;d 
	db  738h	; 00111000
	db  44h	; 01000100
	db  44h	; 01000100
	db  44h	; 01000100
	db  7Fh	; 01111111
	db    0	; 
;e 
	db  38h	; 00111000
	db  54h	; 01010100
	db  54h	; 01010100
	db  54h	; 01010100
	db  18h	; 00011000
	db    0	; 
;f 
	db  04h	; 00000100
	db   04h	; 00000100 
	db    7Eh	; 01111110
	db    05h	; 00000101 
	db    05h	; 00000101 
	db    0	; 
;g 
	db  08h	; 00001000
	db  54h	; 01010100
	db  54h	; 01010100
	db  54h	; 01010100
	db  73Ch	; 00111100
	db    0	; 
;h 
	db  7Fh	; 01111111
	db    8	; 00001000 
	db    4	; 00000100 
	db    4	; 00000100 
	db  78h	; 01111000
	db    0	; 
;i 
	db    0	;  
	db  44h	; 01000100
	db  7Dh	; 01111101
	db  40h	; 01000000
	db    0	;  
	db    0	; 
;j 
	db  20h	; 00100000 
	db  40h	; 01000000
	db  44h	; 01000100
	db  3Dh	; 00111101
	db  0h	; 
	db    0	; 
;k 
	db  7Fh	; 01111111
	db  10h	; 00010000 
	db  28h	; 00101000 
	db  44h	; 01000100
	db  0h	; 
	db    0	; 
;l 
	db  0h	; 
	db  41h	; 01000001
	db  7Fh	; 01111111
	db  40h	; 01000000
	db  0h	; 
	db    0	; 
;m 
	db  7Ch	; 01111100
	db    04h	; 00000100 
	db  78h	; 01111000 
	db    4	; 00000100 
	db  78h	; 01111000
	db    0	; 
;n 
	db  7Ch	; 01111100
	db    8	; 00001000 
	db    4	; 00000100 
	db  04h	; 00000100 
	db  78h	; 01111000
	db    0	; 
;o 
	db  38h	; 00111000
	db  44h	; 01000100
	db  44h	; 01000100
	db  44h	; 01000100
	db  38h	; 00111000
	db    0	; 
;p 
	db  7Ch	; 01111100
	db    14h	; 00010100 
	db    14h	; 00010100 
	db    14h	; 00010100 
	db    8	; 00001000 
	db    0	; 
;q 
	db  08h	; 00001000
	db  14h	; 00010100
	db  14h	; 00010100
	db  14h	; 00010100
	db  7Ch	; 01111100
	db    0	; 
;r 
	db  7Ch	; 01111100
	db    8	; 00001000 
	db  04h	; 00000100 
	db  04h	; 00000100
	db  0		; 
	db    0	; 
;s 
	db  48h	; 01001000
	db  54h	; 01010100
	db  54h	; 01010100
	db  54h	; 01010100
	db  20h	; 00100000
	db    0	; 
;t 
	db    4	; 00000100 
	db    4	; 00000100 
	db  3Fh	; 00111111
	db    44h	; 01000100
	db    44h	; 01000100
	db    0	; 
;u 
	db  3Ch	; 00111100
	db  40h	; 01000000
	db  40h	; 01000000
	db  20h	; 00100000
	db  7Ch	; 01111100
	db    0	; 
;v 
	db    1Ch	; 00011100 
	db  20h	; 00100000 
	db  40h	; 01000000
	db  20h	; 00100000 
	db    1Ch	; 00011100 
	db    0	;  
;w
	db  3Ch	; 00111100
	db  40h	; 01000000
	db  30h	; 00110000
	db  40h	; 01000000
	db  3Ch	; 00111100
	db    0	;  
;x
	db  44h	; 01000100
	db  28h	; 00101000 
	db    10h	; 00010000 
	db  28h	; 00101000 
	db  44h	; 01000100
	db    0	;  
;y
	db    0Ch	; 00001100 
	db    50h	; 01010000 
	db  50h	; 01010000
	db    50h	; 01010000 
	db    3Ch	; 00111100
	db    0	;  
;z
	db  44h	; 01000100
	db  64h	; 01100100
	db  54h	; 01010100
	db  4Ch	; 01001100
	db  44h	; 01000100
	db    0	; 
;{ 
	db    0	;  
	db    8	; 00001000 
	db    36h	; 00110110 
	db    41h	; 01000001 
	db    41h	; 01000001 
	db    0	;  
;|
	db    0	;  
	db    0	;  
	db    7Fh	;  
	db    0	;  
	db    0	;  
	db    0	;  
;}
	db    41h	; 01000001 
	db    41h	; 01000001 
	db    36h	; 00110110 
	db    8	; 00001000 
	db    0	;  
	db    0	;
;~
	db    2	; 00000010
	db    1	; 00000001
	db    2	; 00000010
	db    4	; 00000100
	db    2	; 00000010
	db    0	;
; last 7 bit ASCII character
         db 7Fh
         db 7Fh
         db 7Fh
         db 7Fh
         db 7Fh
         db 0
; End of Font table


u can see the Letter in the Comments

i will explain you in short how this Device work

let Write the b

u have that
Code:
;b 
	db  7Fh	; 01111111
	db  44h	; 01000100
	db  44h	; 01000100
	db  44h	; 01000100
	db  38h	; 00111000
	db    0	;
u need to Seletect the First Columm using the 3 pins connected to 74ls164
then u send the 7Fh ; 01111111 in the Rows.
and Select the second Columm & send the 44h ; 01000100
etc etc

if you look like -> that
u can see a b


Code:
 1111111
 1   1
 1   1
 1   1
  111


the Led need to Blink Very Quickly to seem On in the same Time
the pc can do that
but your soft need to stay in a Endless Loop to leave the Message on

to scrolle it
u need only to change from Colum 1 to 2 and 2 to 3 etc etc

Regard
i hope i helped you a little
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top