Shop OBEX P1 Docs P2 Docs Learn Events
need help to optimize code — Parallax Forums

need help to optimize code

TCTC Posts: 1,019
edited 2007-07-27 01:50 in BASIC Stamp
Hello all, I am just playing around with a 5x7 dot matrix display. well i have a working code but even with a BS2sx I am gitting fliker out of the display.
could someone please look at my code and see if there is somthing I have missed?

thanks TC

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
We all make mistakes when we are young………That’s why paste is edible!

Comments

  • Lee HarkerLee Harker Posts: 104
    edited 2007-07-23 13:28
    TC,

    There's one thing in your program that may be improved. Instead of a lookup table for the bit patterns, you might try putting the data into memory in defined locations and then access it systematically. Such as character# + offset. I'm not sure how much faster the program will run but maybe enough to help.
  • TCTC Posts: 1,019
    edited 2007-07-24 22:10
    Lee thank you for the responce. I was board one night. my kid broke a Vtech drum. so i started playing. and I think I am to my limit for playing. But thank you

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    We all make mistakes when we are young………That’s why paste is edible!
  • TechnoRobboTechnoRobbo Posts: 323
    edited 2007-07-26 18:10
    I tried posting this before but got confused on which file was correct,· Here's the right one. It should refresh at about 60hz.

    ...and stop busting your kids toys for parts.nono.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Have Fun


    TR

    Post Edited (TechnoRobbo) : 7/27/2007 5:29:03 AM GMT
  • TCTC Posts: 1,019
    edited 2007-07-27 01:45
    Thank you TR, That worked perfectly. And if my wife thinks that the kids broke the toy, then I say, "the kids broke the toy." smilewinkgrin.gif

    Thank you

    TC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    We all make mistakes when we are young………That’s why paste is edible!
  • TechnoRobboTechnoRobbo Posts: 323
    edited 2007-07-27 01:50
    Glad to help.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Have Fun


    TR
Sign In or Register to comment.