Problem with 2x8 lcd and interrupts

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

Post Reply
Jörg Güldner
Posts: 77
Joined: Wed Jun 22, 2011 3:32 pm
Has thanked: 17 times
Been thanked: 11 times
Contact:

Problem with 2x8 lcd and interrupts

Post by Jörg Güldner »

Software belongs for a motor setup. Please have a look to the video and the text below...................

Info to the video:
0.) screen "welcome" --> stayes for 3 seconds.
1.) appears automaticly "motor info" --> confusion.
2.) after pressing select button is "turnaround counts" --> confusion.
3.) after pressing select button is "over and back turn" --> flickering cursor.
4.) after pressing select button is "speed" --> flickering cursor.
5.) after pressing select button is "direction" --> flickering cursor.
1.) after pressing select button is "motor info" again --> slow flickering cursor.

What happens:
First screen was OK. At the second happens something to the display. At the third
cursor of the display was set on !?!?.
The "motor info" was only written one time, so you can see, that the cursor is set to "blink" and "on".

If I disable the timer interrupt, the first two screens will be displayed correct.
The rest can not be shown, because the switches are read over the interrupt.

Software flowcode 6.1.1:
Starting the simulator shows in the second screen a value, who is wandering.
If you press the red button to step through the menues and come back to the same screen,
the value stands still?!?!?

Closing Flowcode then gives a crash and sometimes I have to close over the task manager.

Flowcode forum:
I found another user with the same situation, but it was not realy solved.

Info: My writing to the display was set for about 200ms and normally in older projects
with other software this flickering was not seen. I tried with long waiting in the area of seconds
to give the display time to start up. It`s the same error.

So where is the problem ?

Best regards
J.Güldner
Attachments
Motor_PIC16F1829_R05_V6.zip
Video in MP4
(3.74 MiB) Downloaded 260 times
Motor_PIC16F1829_R05_V6.fcfx
Software Version 6
(64.91 KiB) Downloaded 254 times

Post Reply