1 sec delay is 4 sec

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
go233
Posts: 96
Joined: Mon Mar 02, 2015 12:32 pm
Has thanked: 5 times
Been thanked: 11 times
Contact:

1 sec delay is 4 sec

Post by go233 »

very strange: I wrote a very very simple code to have a 4 relays turning on and off every second and the delay is 4 sec instead between two clicks?
do you know why?

flowcode 6 v 6.1.2.0

EB-006-00-9
EB-038-00

micro PIC18F2455

Giovanni
Attachments
Flowcode1.fcfx
(8.97 KiB) Downloaded 404 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: 1 sec delay is 4 sec

Post by Benj »

Hello Giovanni,

We use delays to confirm if everything is setup correctly.

http://www.matrixtsl.com/wiki/index.php ... ED_flasher

It sounds like something may be off in your software. Looking now...

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: 1 sec delay is 4 sec

Post by Benj »

Problem is your configuration settings.

You have the CPU Sys CLK Select option set to OSC/4, I suggest changing this to OSC/1 and things should then work as expected.

go233
Posts: 96
Joined: Mon Mar 02, 2015 12:32 pm
Has thanked: 5 times
Been thanked: 11 times
Contact:

Re: 1 sec delay is 4 sec

Post by go233 »

oh! silly mistake!
Thanks
Giovanni

Post Reply