On 10/08/2010 23:32, David Duffy (AVD) wrote: > Oli Glaser wrote: >>> I changed to LATx instructions for output, fixed the silly error with >>> the TRIS setting and it now works! >>> >> Good stuff.. >> Just a thought if you are getting into the PIC18s - have you tried C18? = I >> like it very much and use it for most things, and if I really need to >> optimise something I write a function in assembler and link it in. I don= 't >> know how your C is but maybe consider giving it a go at some point... >> > I should really get into C programming. I actually program in Delphi > (think "visual pascal") daily, but C seems to do my head in every time I > look at it. > >> Try to ignore the standard newbie bashing... :-) > I've been on the PicList long enough (Olin here, Olin gone, repeat N > times) to have a thick skin! > >> One thing I agree with Olin on though is to move on from absolute mode t= o relocatable as soon as possible, as it will just hold you back. >> > I'm sure you're right there. I can see the advantages and just need to > make the time for it. > David... > C or Jal. very recommended for 18F unless you really like Assembler and=20 are doing very small programs. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .