solarwind wrote: > On Thu, Apr 23, 2009 at 7:38 PM, Neil Cherry wrote: >> 32762 32763 32764 32765 32766 32767 -32768 >> >> Uhm still not following? > > Run my code above, you'll see. > I did that's the last few entries, just what I'd expect of a signed 16 bit word. Roll over to negative when adding 1 to 32767. -- Linux Home Automation Neil Cherry ncherry@linuxha.com http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist