Timmy
01-18-2006, 06:34 PM
Hi folks,
just after any suggestions as to why i am unable to get my max7219 to display any data on my 7-seg display. I suspect it is a coding error (not my strong area). My circuit is identical to the one described in Nuts n volts #10 however I am using a BS2 instead of a BS1. I have thoroughly checked my circuit and checked to see if my stamp has dead pins.
my code is as follows, very simple initially to get started.
' {$STAMP BS2}
'display char's on a 7-seg display with a max7219
DPin CON 8 ' data to MAX7219
Load CON 9 ' latch
Clock CON 10 ' shift clock to MAX7219
text VAR Byte
'----initialize
LOW dpin: LOW load: LOW clock '
PAUSE 100
'----main prog
text = 3
start:
SHIFTOUT Dpin,Clock,MSBFIRST, [ text]
PULSOUT load, 6
any suggestions most appreciated,
timmy!
just after any suggestions as to why i am unable to get my max7219 to display any data on my 7-seg display. I suspect it is a coding error (not my strong area). My circuit is identical to the one described in Nuts n volts #10 however I am using a BS2 instead of a BS1. I have thoroughly checked my circuit and checked to see if my stamp has dead pins.
my code is as follows, very simple initially to get started.
' {$STAMP BS2}
'display char's on a 7-seg display with a max7219
DPin CON 8 ' data to MAX7219
Load CON 9 ' latch
Clock CON 10 ' shift clock to MAX7219
text VAR Byte
'----initialize
LOW dpin: LOW load: LOW clock '
PAUSE 100
'----main prog
text = 3
start:
SHIFTOUT Dpin,Clock,MSBFIRST, [ text]
PULSOUT load, 6
any suggestions most appreciated,
timmy!