[Tinyos-help] can I use pin 8 (I2C Data) on Tmote as Digital I/O pin?

y-jie at northwestern.edu y-jie at northwestern.edu
Wed Dec 12 12:17:52 PST 2007


Hi Michael,

Thanks for your reply. Could you tell me where the SVS "connector" is in Tmote?

Best,
Yicheng
==============Original message text===============
On Wed, 12 Dec 2007 12:21:37 am +0000 Michael Schippling wrote:

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

===========End of original message text===========





More information about the Tinyos-help mailing list