Reposting with tag attached again :-) > I'm using the HI-TECH C Compiler LIte > - Xiao Xu Okay, there should be some examples/info in the documentation to get you going with things like this. However, I've only used it a couple of times, but I remember having trouble finding such basic info even in the bundled documentation. I *think* you can just use something like RA0 = 1; for individual bits. Give that a go too. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist