Please try to keep discussion on the help list so we can keep a record.
I'm cc'ing this.
Just including more sensor components doesn't do anything.
You have to write some program code that sequences the
sensor access and puts the samples in some known place
(such as pre-defined fields of a TOS_Msg to be sent).
It's not all automatic. The Oscilloscope demo app is
a reasonable starting point, but only uses one sensor...
I'm don't know about the GeneralIO interface. Is that in TOS 2.x?
I would guess that makeOutput() sets some specified pin on the
controller to be a digital output, and vice versa. If you want
to use analog inputs you should use the ADC interface.
If you are not experienced with micro-controllers you should find
a copy of the atmega128 manual and perhaps some introductory material.
http://www.atmel.com/dyn/resources/prod_documents/doc2467.pdf
is a place to start with that.
MS
mai naaom wrote:
OK thanks for ur reply, i got into the tuturials and i think i got it
BUT i have a question if i read from 2 sensors how can i recognize that
should i include for each
one a sensor component that describes it and if yes how can i know that
the reading from that sensor or the other
another q please the commands (makeOutput and makeInput) in the
GeneralIO interface what thier functions?
thanks so much for interesting
On 4/25/07, *Michael Schippling* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Start by reading through the doc/tutorial in the tinyos distribution.
MS
mai naaom wrote:
> hi
> i want to know how can i characterize THE MECA2 sensor board and
also
> how can i take the sensor readings from a certain pin , i mean
whether
> from the ADC pins or the GPIO pins
>
> PLEASE help ASAP
> thanx in advance
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
<mailto:[email protected]>
>
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help