lcd screen flicker

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

siliconchip
Posts: 246
Joined: Wed Jan 05, 2011 11:24 am
Has thanked: 72 times
Been thanked: 22 times
Contact:

lcd screen flicker

Postby siliconchip » Wed Dec 19, 2012 9:14 pm

hi all i have created a flowchart using pwm initially to gain some understanding of it the problem is although it simulates in flowcode as i intended, on actual hardware the screen flickers,i have tried to eliminate this using different clock speeds as well as increasing a delay value but i am no closer to solving it, can anyone point me in the right direction please
Attachments
MY PWM.fcf
(11.5 KiB) Downloaded 124 times

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: lcd screen flicker

Postby Enamul » Wed Dec 19, 2012 9:32 pm

Can you please try this one?
Edit: I have deleted the clear display function in the loop and increased delay to 250ms. Added two space after "%" so that it is now "% " in the code which removes any unwanted character if 100% to 99% or 10% to 9%.
Attachments
MY PWM.fcf
should be Fcv4 but can't open yours one in FCv4 that's why in FCv5
(11 KiB) Downloaded 150 times
These users thanked the author Enamul for the post:
siliconchip (Wed Dec 19, 2012 9:44 pm)
Rating: 5.26%
 
Enamul
University of Nottingham
enamul4mm@gmail.com

siliconchip
Posts: 246
Joined: Wed Jan 05, 2011 11:24 am
Has thanked: 72 times
Been thanked: 22 times
Contact:

Re: lcd screen flicker

Postby siliconchip » Wed Dec 19, 2012 9:43 pm

thanks it works brilliantly obviously the lcd clear was not needed thanks once again

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: lcd screen flicker

Postby Enamul » Wed Dec 19, 2012 11:11 pm

Glad to know it worked :)
Enamul
University of Nottingham
enamul4mm@gmail.com