I uploaded a video. link is ---> https://youtu.be/9TJ9FeB0X-8
In the on-off circuit written in Flowcode 10, is there more delay even though the delay is 1 second?
Does anyone know what is the problem ?
16f1827 delay issue
-
- Posts: 4
- http://meble-kuchenne.info.pl
- Joined: Tue Aug 30, 2022 9:15 am
-
- Valued Contributor
- Posts: 1181
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 287 times
- Been thanked: 417 times
Re: 16f1827 delay issue
and maybe the circuit diagramchipfryer27 wrote: ↑Mon Dec 18, 2023 10:41 amHi
You will need to attach your Flowcode file.
Regards
-
- Matrix Staff
- Posts: 1269
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 168 times
- Been thanked: 285 times
Re: 16f1827 delay issue
The internal oscillator defaults to 500kHz for that device, but you have told Flowcode that the oscillator is running at 8MHz. Either set the clock speed within Flowcode to the correct frequency for your project or add some startup code to make the oscillator run at the frequency you want.
To be clear, the drop-down when you have set "8MHz" is *not* setting the speed of the clock in your hardware. Instead, this is used by you to tell Flowcode what the oscillator speed actually is so delays can be calculated correctly.
To be clear, the drop-down when you have set "8MHz" is *not* setting the speed of the clock in your hardware. Instead, this is used by you to tell Flowcode what the oscillator speed actually is so delays can be calculated correctly.
-
- Matrix Staff
- Posts: 1269
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 168 times
- Been thanked: 285 times
Re: 16f1827 delay issue
Also, see the following post for more information:
viewtopic.php?f=3&t=866&p=4795&hilit=os ... rnal#p4795
viewtopic.php?f=3&t=866&p=4795&hilit=os ... rnal#p4795