Don't the DEFINES have to be in CAPs?
dEFINE, define or else variant will work, what's important it's on the right of it.
Last edited by mister_e; - 2nd April 2008 at 01:36.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
I googled "Optrex DMC20481" and found a post on another forum suggesting that the LCD_COMMANDUS of 2000 was too low for that display. He said that 3000 worked for him.
I pulled up the datasheet, and there doesn't seem to be any mention of the actual delays required. I guess if they're that bad, I wouldn't want to publish them either.
Something to try.
<br>
DT
Hi,
I once found that my LCD was spitting garbage and sometimes went blank. On inspection with the panel itself I found it would happen when a contactor picks up. My experiments.
1. LCD changed with a different brand --> Reduced frequency of the problem but still exist
2. LCD timing --> Reduced the missing display
3. Remove shielding from the LCD mounting --> Problem almost gone
4. Software measure taken:
Use the Flag to re-initialize and clear the LCD after contactor pick up/drop.
So what I mean to say is that in my case the LCD itself was picking up noise and not stable.
Regards
Sougata
I would make two things before posting the entire program.
1- Change DEFINE LCD_COMMANDUS 2000 to 3000.
2- If point 1 not fix the trouble, reduce the program to minimum in order to have the repeatability of the trouble with minimum statements.
I will make this activity this evening (Italian time).
Ciao
Leo
Hi,
the fail seems disappeared. I do not have made nothing!
The only difference between yesterday and today in that yesterday was the first od April!!!
Is almost tree hours that is running without any trouble on the LCD display.
Attached there are the "failing" program.
I leave running the program for the entire night.
Ciao
Leo
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks