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