Page 1 of 1

interrupt flowcode timer 0

Posted: Tue Jul 03, 2012 11:27 am
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.

Re: interrupt flowcode timer 0

Posted: Tue Jul 03, 2012 12:06 pm
by Benj
Hello,

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