> //Set page 103 for details regarding the +2 > tmr0l = (unsigned char)65000; > tmr0h = (unsigned char)(65000 >> 8); //Right > shift so the top byte > becomes the bottom byte > > All I'm trying to do is split the 65000 across the > two variables, tmr0L and Doesn't this need to be an unsigned integer (possibly long integer, depending on default length of integer) because a char is only 8 bits, so max value is 255 ???? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist