Welcome to the Parallax Discussion Forums, sign-up to participate.
tonyp12 wrote: »
I'm waiting to hear from parallax about the spacing of the gap between upper/lower pin cluster.
mov asm_cnt,bit_test 'load the value that only have bit 24 set to 1.
:loop2 test serial,asm_cnt wz 'is this bit a 1?
muxnz outa,#4 'the answer is in z, and turn pin4(serial) based on this.
or outa,#1 'turn pin0 on (clock)
andn outa,#1 'turn pin0 off (clock)
sar asm_cnt,#1 wz 'shift right
if_nz jmp #:loop2 'if not zero, jmp
or outa,#2 'turn pin1 on (latch)
andn outa,#2 'turn pin1 off (latch)
serial long %00000000_11111100_11111100_11111110 'the two lower bits in each byte controls the 6 npn transistors
bit_test long %1<<24
font long A1+A2+B+C+D1+D2+E+F+J+M '0
long B+C '1
long A1+A2+B+D1+D2+E+G1+G2 '2
long A1+A2+B+C+D1+D2+G2 '3
long B+C+F+G1+G2 '4
long A1+A2+D1+D2+F+G1+K '5
long A1+A2+C+D1+D2+E+F+G1+G2 '6
long A1+A2+B+C '7
long A1+A2+B+C+D1+D2+E+F+G1+G2 '8
long A1+A2+B+C+D1+D2+F+G1+G2 '9
long 0,0,0,0,0,0,0 'unused
long A1+A2+B+C+E+F+G1+G2 'A
long A1+A2+B+C+D1+D2+G2+I+L 'B
long A1+A2+D1+D2+E+F 'C
long A1+A2+B+C+D1+D2+I+L 'D
long A1+A2+D1+D2+E+F+G1+G2 'E
long A1+A2+E+F+G1 'F
long A1+A2+C+D1+D2+E+F+G2 'G
long B+C+E+F+G1+G2 'H
long I+L 'I
long B+C+D1+D2+E 'J
long E+F+G1+J+K 'K
long D1+D2+E+F 'L
long B+C+E+F+H+J 'M
long B+C+E+F+H+K 'N
long A1+A2+B+C+D1+D2+E+F 'O
long A1+A2+B+E+F+G1+G2 'P
long A1+A2+B+C+D1+D2+E+F+K 'Q
long A1+A2+B+E+F+G1+G2+K 'R
long A1+A2+C+D1+D2+F+G1+G2 'S
long A1+A2+I+L 'T
long B+C+D1+D2+E+F 'U
long E+F+J+M 'V
long B+C+E+F+K+M 'W
long H+J+K+M 'X
long H+J+L 'Y
long A1+A2+D1+D2+J+M 'Z
zappman wrote: »
I just received (3/5/2011) my two "17 Segment LED Driver Boards for the PPDB" :smile:.
I tried it with the test program Tony e-mailed and it works great.
Duane Degn wrote: »
I think I'm going to switch the two and three pin headers for female headers. I'm thinking with female headers, I can use normal hookup wire to make the necessary connections.
I'm curious if any of you prefer the male headers and why?