HI, everybody,
I have to control the pins of atmega128L with macros in TinyOS-2.x.
In T1, it uses the sbi() and cbi(), however, in T2, to control the pins, like 
PORTG, you cannot use sbi() and cbi() at all.
Which macros can be used? SET_BIT() or CLR_BIT()? Take CLR_BIT(PORTG,2) for 
example, I found that it did not work.   

Thanks!

------
Yu long
俞  ��

Motto: What you never thought possible. 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to