Oh, I've never thought about setting the ADC3 as input.
This problem was solved by putting the macros TOSH_MAKE_ADC3_INPUT();
It drove me crazy last night.
It drove me crazy last night.
Thanks,
Chalermphol
On 12/6/05, Joe Polastre <[EMAIL PROTECTED]> wrote:
Set the ADC pin to input, it is output by default. By shorting R14,
you create a connection between the two. I believe there's a few
answers to this question in the tinyos-help archives.
-Joe
On 12/6/05, Chalermphol Thammapalerd <[EMAIL PROTECTED]> wrote:
> Hi,
> I tried to receive interrupt on GIO0 by setting
>
> command result_t StdControl.init() {
> TOSH_MAKE_GIO0_INPUT();
> return SUCCESS;
> }
>
> With the populated 0 Ohm resistor at R14,
> I successfully recieved the interrupt signal by connecting 2.4V battery
> directly to the GIO0(pin10) and Gnd(pin9).
>
> But not for the external device which drops the input to something like 0.1
> volt.
>
> Please explain what's going on here,
> Thank you.
>
> Chalermphol
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> 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
