Hi people, i'd like to easily control all ports of my pic. I've been trying to use output_low() and output_high() from ccs c, but seems that these functions work only with constatns. Won't they work with variables? I'm trying something like that output_low(31744); // this works value = 31744; output_low(value); ccs says that the expression must be a constant. any ideas? thanks Rafael. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist