Tuesday, February 26, 2008

[oopic] Re: UVTron Question

--- In oopic@yahoogroups.com, "jon_mark_go" <jonmarkgo@...> wrote:
>
> I assumed it was an analog input so it might have to be on 1-4.
>

No, it is a digital pulse about 10 mS wide that triggers an event. The
sample code counts the events in a one second interval and, if it
exceeds a threshold, it turns on an LED.

Kind of like a Geiger-Mueller radiation counter, I suppose.

The sample code is a very nice example of using events with the OOPic.

Richard



Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments:

Post a Comment