Need help with 16/14 segment led display code
jknightandkarr
Posts: 234
obex.parallax.com/objects/545/
The above is the code I'm using only added 4 more digits with a 2nd PPDB which had been damaged & now otherwise worthless.
The problem is 8 of 10 characters work as expected, however the 2 on the far right does not. They both display jarbled junk. On the program all I had changed is the paramaters for the pin set up from 6 to 10 on the two lines at the top. All other characters display correctly, so I know it's can't be a wiring issue. Can anyone help me on this?
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
The above is the code I'm using only added 4 more digits with a 2nd PPDB which had been damaged & now otherwise worthless.
The problem is 8 of 10 characters work as expected, however the 2 on the far right does not. They both display jarbled junk. On the program all I had changed is the paramaters for the pin set up from 6 to 10 on the two lines at the top. All other characters display correctly, so I know it's can't be a wiring issue. Can anyone help me on this?
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
Comments
This is the problem. It seams to be combining characters into those 2 sections. I tried adding 12 characters, but get 4 char like that instead of 2. Maybe Steve Stuart the guy who wrote it could chime in? I tried moving the I/O pins around but no help. I'm at a loss here.
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
Post Edited (jknightandkarr) : 7/16/2010 4:28:15 PM GMT
I haven't looked at the 16-segment object, but I wrote the 7-segment object in the OBEX. Is it possible that the digit select pins aren't being controlled correctly? It looks like the segments on those last two characters are a union of all the segments from all the other characters. That would happen if those select pins were always low.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our first album on the iTunes Store
Our second album...
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
I just tried the object you link to and it works fine.· I modified it for 10 digits without too much trouble.· It displays fine on the two PPDBs I have.
Duane
Joe
I just redownloaded it, my version is 1.3, I just got 1.4. I'll try it now.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
Post Edited (jknightandkarr) : 7/18/2010 3:22:09 AM GMT
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
Post Edited (jknightandkarr) : 7/18/2010 4:40:31 AM GMT
in a repeat loop setting each digit & the character in the outa sections. I've added a DAT area with all the letters & numbers already filled out, just using the ol variable bit to reduce program size. I've tried going through each section of the program Mr Stuart wrote & I can't seam to find the answer to my problem, so if he could pop up or if someone could tell me his board id it would be much appreciated. Thanks.
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
http://forums.parallax.com/forums/default.aspx?f=25&m=411807
Jim
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
I have made a change to the object and posted an update to the obex.
Steve
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol