ARRGH i didn't notice how you did your code...
Code:
for digit = 1 to 5
current = LOOKUPl digit, [byt_03,byt_04,byt_05,byt_06,byt_07]
SHIFTOUT datapin, clkpin, MSBFIRST, [digit] 'digit adress
SHIFTOUT datapin, clkpin, MSBFIRST, [current] 'digit data
PULSOUT load1, 3
next
you must
enable the load line
use the shiftout
disable the load line
how about using something like
Code:
for digit = 1 to 5
current = LOOKUPl digit, [byt_03,byt_04,byt_05,byt_06,byt_07]
LOW Load1
SHIFTOUT datapin, clkpin, MSBFIRST, [digit] 'digit adress
SHIFTOUT datapin, clkpin, MSBFIRST, [current] 'digit data
HiGH load1
PAUSE 10
next
but more than likely
Code:
for digit = 1 to 5
current = LOOKUPl digit, [byt_03,byt_04,byt_05,byt_06,byt_07]
LOW Load1
SHIFTOUT datapin, clkpin, MSBFIRST, [digit,current]
HiGH load1
PAUSE 10
next
EDIT: It remind me a previous post => http://www.picbasic.co.uk/forum/show...tach%2A+max%2A
Bookmarks