[Tinyos-help] can I use pin 8 (I2C Data) on Tmote as Digital
I/O pin?
Michael Schippling
schip at santafe.edu
Tue Dec 11 16:21:37 PST 2007
Unfortunately the two I2C pins are shared with the radio
so it's best (IMHO) to avoid using them...if you need more
I/O the SVS "connector" has one more usable pin and you
could solder into where the onboard sensors go too.
MS
yicheng wrote:
> Hi Folks,
>
>
>
> I want to use pin 8, which is I2C data pin on Tmote sky as a digital I/O
> pin, is it possible? Here is my code example:
>
>
>
> Configuration file:
>
> Myapp.digitOut -> MSP430GeneralIOC.Port31;
>
>
>
> Implementation file:
>
> uses interface MSP430GeneralIO as digitOut;
>
>
>
> init function:
>
> call digitOut.setLow();
>
> call digitOut.makeOutput();
>
> call digitOut.selectIOFunc();
>
>
>
> What does “I2C data” pin mean?
>
>
>
> Thanks!
> Yicheng
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
More information about the Tinyos-help
mailing list