interrupt flowcode timer 0

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
helesmes
Flowcode v5 User
Posts: 15
Joined: Thu Dec 01, 2011 6:33 pm
Location: France / Nord
Has thanked: 3 times
Contact:

interrupt flowcode timer 0

Post by helesmes »

Hello, I join a flowcode chart.
This is a tide clock, The Pic 16F877 drives 5 "7 segments displays" with internal decoder BCD.
So I use 4 bits for the units second display, 4 bits for the 10 seconds displays, 4 bits for the unit minute display and so on.
I also use 2 bits for the change; I explain, at the start ( pushbutton by the user) the tide counts down and one bit is on, it displays low tide, when the count is empty, the system restarts automatically without the user, and an the bit is off, but an other bit is on ( high tide).

The system must be driven by 1 Hz pulse, but I do not understand well the interrupt, and my system does not run at 1 Hz.

Can you explain my mistake?

regards.

helesmes.
Attachments
SYNTHESE_MAREE 877_INTERRUPT_N2_OK.fcf
(42.53 KiB) Downloaded 283 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: interrupt flowcode timer 0

Post by Benj »

Hello,

I replied to your previous post here.
http://www.matrixmultimedia.com/mmforum ... 41&t=10897

Post Reply