Shop OBEX P1 Docs P2 Docs Learn Events
i''m new, need help with command — Parallax Forums

i''m new, need help with command

ArchiverArchiver Posts: 46,084
edited 2004-02-10 19:41 in General Discussion
>I saw that POLLWAIT would let the stamp "nap"
>until a polled event happens. If I don't do the polling option and
>just run the small continuous loop looking for a switch input, is
>there anything wrong with leaving the stamp in 'full power' mode?
>This won't be on battery power, so I'm not concerned with drawing
>down a battery or anything. Would it hurt the stamp to stay active
>all the time and not go into the nap mode?

No, no problem at all.

There is a mode, POLLMODE 8, that leaves the stamp running, not
napping, and in that mode it can react to a change on a POLLIN input
very fast. But with user pushbuttons, even a 10 millisecond delay in
the continuouse loop is not going to be perceptible.

-- Tracy
Sign In or Register to comment.