Page 1 of 1

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

Posted: Sat May 10, 2014 1:45 pm
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 452 times

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

Posted: Sat May 10, 2014 3:36 pm
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

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

Posted: Sat May 10, 2014 8:18 pm
by nnnnff
Thank you very much!

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

Posted: Sat May 10, 2014 9:30 pm
by medelec35
No problem.
Did it work?

Not got a 16F1939 to test with.