Hi all, can you point me in the right direction please. I would like to play about with changing the
18F2620 .fcd parameters, i have previously altered the `
adcon1` register as per a previous posts to enable a
`vref ` , now i wanted to play about with the
`cvrcon` register but when i altered the
`18F2620_vref.fcd` file (my version) then did a recompile, and when i did a test using `
proteus` there did not appear to be any difference.
![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
So to check whether i was altering the correct .fcd file (original .fcd file was kept as standard, using my copy of it) i renamed it adding an
`x` either side ...
x18F2620_vref.fcdx.... but both flowcode and proteus recompiled and ran as normal
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
. I expected both flowcode and proteus to bring up an `error` message as it should of looked for the file to add to the program. I then renamed the original fcd file using
`xx` as well only to find that flowcode/proteus still did not throw up an error message and as such i do not believe these fcd files are being used by my programing!...i have `searched` the hard drive for any other similar named files but non were found. I did find files used by `
boostc` with extensions `
tdf, h,` and `
bas` but these do not look as though they are what i need.
A) please tell me if i am looking for the correct file to add my
`vref ` using the
`adcon1 `
B) would i just add the
`cvrcon = 9f ` as per. "
ADCCapture="char ta, tb, cnt;\ncvrcon = 0x9f;\nadcon1 = 0x01;\nadcon2 = 0x03;?