scamanderriver
Member
Hi, looking for help
I'm having output issues with my 40x2, and have built a basic board to test it
the only pins i can get to work consistently are B0 to B7
most of the C & D pins won't work
Am I doing something wrong ??
I HAVE USED THIS CODE TO TEST:
let dirsb = %10000000
let dirsc = %10000000
let dirsd = %10000000
main:
high b.7
pause 300
low b.7
pause 1000
high d.7
pause 300
low d.7
pause 1000
high c.7
pause 300
low c.7
pause 1000
goto main
ONLY B7 works !!!
IF I USE THIS CODE:
let dirsb = %11111111
let dirsc = %11111111
let dirsd = %11111111
main1:
let pinsB = %11111111
pause 1000
let pinsB = %00000000
pause 1000
let pinsc = %11111111
pause 1000
let pinsc = %00000000
pause 1000
let pinsD = %11111111
pause 1000
let pinsd = %00000000
pause 1000
goto main1
the B pins flash on and off rapidly !!!!
Other weird things sometimes happen as well
eg
if i turn it off and unplug the serial cable and then turn it back on again it won't work at all!
I have to turn it off and plug the cable back in !!!
Is the chip faulty or is it me!
cheers
Paul
I'm having output issues with my 40x2, and have built a basic board to test it
the only pins i can get to work consistently are B0 to B7
most of the C & D pins won't work
Am I doing something wrong ??
I HAVE USED THIS CODE TO TEST:
let dirsb = %10000000
let dirsc = %10000000
let dirsd = %10000000
main:
high b.7
pause 300
low b.7
pause 1000
high d.7
pause 300
low d.7
pause 1000
high c.7
pause 300
low c.7
pause 1000
goto main
ONLY B7 works !!!
IF I USE THIS CODE:
let dirsb = %11111111
let dirsc = %11111111
let dirsd = %11111111
main1:
let pinsB = %11111111
pause 1000
let pinsB = %00000000
pause 1000
let pinsc = %11111111
pause 1000
let pinsc = %00000000
pause 1000
let pinsD = %11111111
pause 1000
let pinsd = %00000000
pause 1000
goto main1
the B pins flash on and off rapidly !!!!
Other weird things sometimes happen as well
eg
if i turn it off and unplug the serial cable and then turn it back on again it won't work at all!
I have to turn it off and plug the cable back in !!!
Is the chip faulty or is it me!
cheers
Paul