Hi everyone,

On telosB, I want activate port 3 pin 2,so P3.2 will be connected to USART
0.

P3SEL |=0x02;

Do I have to add this command in my makefile?

Then, I want to configure USART 0 in its SPI mode and write some data to
P3.2.

I found a component name:

HplMsp430Usart0C

which has an interface:

 Interface HplMsp430Usart

This interface has a command:

Command void enableSpi();

In its description it says: Enables the USART in Spi mode.

Is this the correct way to config USART?

Thanks,
Maryam
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to