16f1939 of ADC Is not correct! SOS!!!

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
nnnnff
Posts: 107
Joined: Tue Oct 04, 2011 8:55 am
Has thanked: 3 times
Been thanked: 6 times
Contact:

16f1939 of ADC Is not correct! SOS!!!

Post by nnnnff »

16f1939 of ADC Is not correct! SOS!!!
As shown in example, there is no question of simulation in the FLOWCODE V4, downloaded to the chip after 16f1939 hardware, however, can only display 1.2;2.4;3.7;0. Can't continuous transformation, I again in the proteus simulation, is also the same problem!What reason is this?Please help me!!!!!!!Thank you very much!
16f1939.rar
(181.27 KiB) Downloaded 435 times

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 16f1939 of ADC Is not correct! SOS!!!

Post by medelec35 »

Hi nnnnff,
Can you make a backup copy and replace:
PIC_ADC_18.c thats in
C:\Program Files (x86)\Matrix Multimedia\Flowcode V4\Components (If 64 bit windows)
or
C:\Program Files\Matrix Multimedia\Flowcode V4\Components (If 32 bit windows.)
With the attached file.

I have not had time to properly investigate so the attached file in not a real fix, more like a bit of a bodge!
Hope it works for you.

If I get more Time I will see if I can find out what is causing the issue

Martin
Attachments
PIC_ADC_18.c
(8.78 KiB) Downloaded 504 times
Martin

nnnnff
Posts: 107
Joined: Tue Oct 04, 2011 8:55 am
Has thanked: 3 times
Been thanked: 6 times
Contact:

Re: 16f1939 of ADC Is not correct! SOS!!!

Post by nnnnff »

Thank you very much!

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: 16f1939 of ADC Is not correct! SOS!!!

Post by medelec35 »

No problem.
Did it work?

Not got a 16F1939 to test with.
Martin

Post Reply