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

Post Reply
siliconchip
Posts: 392
Joined: Wed Jan 05, 2011 11:24 am
Has thanked: 101 times
Been thanked: 24 times
Contact:

lcd screen flicker

Post by siliconchip »

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 294 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

Post by Enamul »

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 329 times
Enamul
University of Nottingham
enamul4mm@gmail.com

siliconchip
Posts: 392
Joined: Wed Jan 05, 2011 11:24 am
Has thanked: 101 times
Been thanked: 24 times
Contact:

Re: lcd screen flicker

Post by siliconchip »

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

Post by Enamul »

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

Post Reply