From: <sd...@du...> - 2007-02-14 12:29:13
|
Vangelis Rokas wrote: > What differences are there? Can you send us a .diff file? and a short > description of your changes? I tested my functions again and on my 18f2550 board (18f2455/4455/4550 are similar) those function work Attached to this mail you find the diff file. I tried to encapsulate every change in an #ifdef command and made the diff with "svn diff" (pls ignore the sim/ucsim/libtool.rej, donno why svn adds this.) The main diff between the pic18fXX and pic18fXXX are that those with 4 number have ADCON0-2 while those with 3 number only have ADCON0-1 to control the ad channels. Sadly even thos with 4 numbers differ in their way to configure the ad parts of the chip. Is it possible to add possible to add a warning in the #else path when using a function which is not directly programmed for the give chip? If you have any questions regarding my code please fell free to ask them. jan |