I did a lot of testing last night and it does appear to be the OLED screen that has issues. I have two OLED screens mounted on two different pieces of equipment and with the code above they do the same thing. I then put a standard LCD screen (2X16) through the same tests and it worked perfectly. I now have more questions than answers.
Everytime I hear Newhaven, I cringe.
Why? They work perfectly with displaying letters and numbers and the OLED screen is so much better than an LCD screen. I'm guessing you've had problems with them in the past?
Here's your program running on a 4550 at 48Mhz in the simulator.
That thing is pretty cool. Where can I get it?
After some testing, here is some information that may be useful.........or may not be. With the following line of code:
Code:
@ BARgraph _X, 0, 0, 20, 512, lines
The software will work perfectly from 0 to 33. If I use a For/Next routine for 0-33, it will run with no problems for hours on end (I know it will, trust me!) When I put 0-34, it flakes out when it gets to 34 and only 34. When it rolls back around, the same thing happens. 0-33 works good and then 34 won't, up until 98 or so. I don't get that.
By changing to the following code:
Code:
@ BARgraph _X, 0, 1, 20, 512, lines
Now 0-110 works perfectly. The only thing I did was move the column from 0 to 1! Riddle me that one!
Also, if I just change to this code
@ BARgraph _X, 0, 1, 20, 10000, lines
Now it will count much higher without a problem.
Bookmarks