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.
interrupt flowcode timer 0
Moderator: Benj
-
- 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
- Attachments
-
- SYNTHESE_MAREE 877_INTERRUPT_N2_OK.fcf
- (42.53 KiB) Downloaded 283 times
- 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
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel