hi ive coded a dotmatrix (8x8) but i programmed it as both colunm and row that i want to turn on is a 1 and of corse we need one 0v to turn the led on so ive been chaging it but ive some how confused my self about it im using the 40x1 16 outputs 8 for the row and 8 for the colunms so now my problem if i want the first led to ligh up top left row 1 wil postive and colunm 1 is negative
main:
do
let pins=%10000000
let dirsc=%11111111
let pinsc=%????????
pause 1
loop
on the line is my prolem what code would i put there if i do
let pinsc=%10000000
it would mean the they both are posotive and the led will not light so then if i do
let pinsc=%01111111
does this mean that only the first led would light or all of them thanks
Edited by - lakey009 on 11/07/2007 18:13:28
main:
do
let pins=%10000000
let dirsc=%11111111
let pinsc=%????????
pause 1
loop
on the line is my prolem what code would i put there if i do
let pinsc=%10000000
it would mean the they both are posotive and the led will not light so then if i do
let pinsc=%01111111
does this mean that only the first led would light or all of them thanks
Edited by - lakey009 on 11/07/2007 18:13:28