Michael Schippling schrieb: > selectIOFunc() seems to be the thing in T1 that makes > each pin do it's Digital IO function. It may be redundant, > and it certainly isn't documented anywhere that I found... > > As to the "shortage on connector pins", I agree. But that > doesn't explain the utility of being able to short two > controller lines together to one external I/O pin... I think this is because the ports with ADC capability don't offer interrupt capability. So if you need to trigger an external interrupt (and only then) you need to bridge R14.
Cheers, Urs > > I'd say if it works, you are doing it the right way. > > MS > > > > André Miguel de Almeida Marrão Rodrigues wrote: >> Hi >> >> I'm in T2 >> >>> Unless you are using the ADC component the ADC inputs are not >>> configured to do anything, so there is nothing to disable. >> >> I'm using the ADC for ADC0, ADC1 and ADC2. >> But I'm not sure if it affects ADC3? >> >>> I am entirely clueless as to why those R14-like shorting >>> options exist as all they do is tie two IO pins together... >> >> A shortage on connector pins? >> >>> I have yet to fully test this, but I believe you can do the >>> following to turn ADC3 into an output pin (under Boomerang, >>> which seems to be TOS1.1.15++): >> >> I manage to do that forgeting the R14 (not connected) and the gpio0 >> and making >> the ADC3 pin output and high. And now it's working, I didn't use >> selecIOfunc because I didn't see that in GeneralIO interface. >> What´s the function? >> >> But at the end I'm not sure if it's the correct way to do it >> >> Regards, >> >> André _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
