> Debounce.c: Debounce() > 115: COUNT = 20.; > ^ implicit conversion of float to integer (warning) 20. is not 20 decimal. it is 20 (float type). You are storing to an integer, so you lose accuracy. That is why you got a error. andrew -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist