Re: [Tinyos-help] Some problem about the interrupt in Tinyos

2007-05-15 Thread Michael Schippling
First, for some reason the mica designers shifted the INTn's down by 4 so what is INT4 on the ATMEGA pinout is labeled INT0 in mica-world. If you don't know which pins are available I have a cheat sheet at: http://www.etantdonnes.com/Motes/ATMEGApins.txt Second, the iom128.h file shifts the

RE: [Tinyos-help] Some problem about the interrupt in Tinyos

2007-05-14 Thread liangjing
Hi Michael Thank you for your reply and code . I read atmega-128 manual and found that some questions. In pin configurations page, the PIN 25 is defined as (SCL/INT0) PD0 and I wonder if the number 25 is relevant to #define SIG_INPUT_CAPTURE3 _VECTOR(25) ,if not, where could I know

Re: 回复: [Tinyos-help] Some problem about the interrupt in Tinyos

2007-05-08 Thread Steve McKown
On Monday 07 May 2007 19:37, liangjing wrote: Hi Steve , I have read the TEP 117 and found that it is a tinyos 2.0 version , but our platform is mica2 and a tinyos 1.0 version . I am sorry that I don't write this in advance and I don't find Low-Level I/O documentation in

Re: [Tinyos-help] Some problem about the interrupt in Tinyos

2007-05-07 Thread liangjing
Hi, Steve Thank you for your reply. And I have some doubt about the interface Int. The demo gives some code defining command Init.init() and async event void Int.fired(),but I still don't know how to trigger the event, and I don't find it in the configuration file either. Could you help me

Re: [Tinyos-help] Some problem about the interrupt in Tinyos

2007-05-07 Thread Steve McKown
Hi Jing, On Monday 07 May 2007 02:18, liangjing wrote: Thank you for your reply. And I have some doubt about the interface Int. The demo gives some code defining command Init.init() and async event void Int.fired(),but I still don't know how to trigger the event, and I don't find it in the

回复: [Tinyos-help] Some problem about the interrupt in Tinyos

2007-05-07 Thread liangjing
Hi Steve , I have read the TEP 117 and found that it is a tinyos 2.0 version , but our platform is mica2 and a tinyos 1.0 version . I am sorry that I don't write this in advance and I don't find Low-Level I/O documentation in www.tinyos.net/tinyos-1.x/doc so the code doesn't seem to fit with

[Tinyos-help] Some problem about the interrupt in Tinyos

2007-04-30 Thread liangjing
Hi,folks In the experiment we want to trigger an event or task that implement the related work after switching off the button ? I don't know if there exists an interrupt procedure in Tinyos since I don't find some app using the kind of interrupt.Please help me. Best Regards