Oli Glaser wrote: >> I changed to LATx instructions for output, fixed the silly error with >> the TRIS setting and it now works! >> =20 > > Good stuff.. > Just a thought if you are getting into the PIC18s - have you tried C18? I= =20 > like it very much and use it for most things, and if I really need to=20 > optimise something I write a function in assembler and link it in. I don'= t=20 > know how your C is but maybe consider giving it a go at some point... > =20 I should really get into C programming. I actually program in Delphi=20 (think "visual pascal") daily, but C seems to do my head in every time I=20 look at it. > Try to ignore the standard newbie bashing... :-) I've been on the PicList long enough (Olin here, Olin gone, repeat N=20 times) to have a thick skin! > One thing I agree with Olin on though is to move on from absolute mode to= relocatable as soon as possible, as it will just hold you back. > =20 I'm sure you're right there. I can see the advantages and just need to=20 make the time for it. David... --=20 ___________________________________________ David Duffy Audio Visual Devices P/L Unit 8, 10 Hook St, Capalaba 4157 Australia Ph: +61 7 38235717 Fax: +61 7 38234717 Our Web Site: www.audiovisualdevices.com.au ___________________________________________ --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .