delay betwin input output

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
aerofrick
Posts: 23
Joined: Mon Mar 08, 2010 4:37 pm
Location: Slovenia
Has thanked: 2 times

delay betwin input output

Post by aerofrick »

Hi

In the last month I was writing a program for two pic micro controllers and when I programmed them I found out that I have a 2-10 second delay in response from when I turn the potentiometer to when pic responds to it. I am using pic 16f73 and 20MHz crystal. When tried to program the device I couldn’t select the internal oscillator so I had to make more room on the board for crystal. This is just a small problem the problem I have is why the delay? In view-project options I only changed the frequency of oscillator to 20000000Hz and under chip-configure-switch to expert comfig screen I set the oscillator on XT, watchdog timer off, power up timer off, burn out detect, on and code protect off.

I had a word with a friend that had the same problem and he replied me that he just changed division and that then it worked, but in config I couldn’t find this division because there are jut the specifications listed few sentences above.

Help apresheated

Jan
Flowcode1.1pic2.fcf
this is one of the two similar progrms
(21.33 KiB) Downloaded 279 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: delay betwin input output

Post by Benj »

Hello Jan,

The 16F73 device does not have the internal oscillator hardware so this is why that feature is not available in the PPP software.

The Oscillator must be set to HS in the expert configuration settings. XT is for crystals up to 4MHz where HS is for crystals 4MHz and over.

Changing the osc setting should hopfully fix the problems you having.

Post Reply