Code: Select all
for x = 0 to 23
PORTB = anodes(x)
- Then all your other code would be here to call the required graphics -
next
what we could do instead is have just one variable called anodes, start with the right most bit as a one and then everytime we call the variable, we just shift it to the left one space.
e.g.
Code: Select all
for x = 0 to 23
PORTB = anodes << (x)
- Then all your other code would be here to call the required graphics -
next
Yeah I was thinking that we could use a NEXT loop to draw each column, your idea of using a shifting system sounds good to me.. I havn't had much time this week, but when I have ive been studying swordfish and basic code so I can gasp the basics and how it works, but has for putting the circuit together I am waiting for a few parts, some different transistors and fets which I want to try out to power the columns, and im also going to try using a uln2803a to sink the current which will be controlled by 74373's.
still havn't found a good manual explaining the commands in basic though, the swordfish complier manual helps a little..
