At 06:10 PM 10/2/2004, Peter Johansson wrote: >Dave VanHorn writes: > >> In general, all uC programs are infinite loops. > >Unless you are using a uC with sleep and interrupts. That's one of >the really nice things about the SX. ;-) Even so. The int is merely a diversion, and sleep just a pause. >I haven't yet made the jump from SX over to PIC, so I have only the >most basic idea of the differences between the two. I get the >impression that the older PICs did not support interrupts, but surely >the whole lot of the low power chips (at least the nano-watt ones) >must have some sort of sleep/interrupt capabilities. We may not be speaking quite the same language. AFAIK, all the pics had some sort of int support, though the early ones weren't vectored. Sleep is probably relatively new. Some of the AVRs can also divide their clock way down, up to /128 for a major power reduction. I haven't thought of anything clever yet to do with the ability to set CLK/7 or CLK/121 yet. _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist