[Tinyos-help] GpioInterrupt

Jordi Casals jordi.casals at gmail.com
Mon Jan 29 06:52:44 PST 2007


Could somebody help me?
I need to  use the pins of my micaz, but I don't know how. I think that my
problem is in the linking module:

_____________________________________________________________________________
#include "ButtonToSerial.h"

configuration ButtonToSerialAppC{

}

implementation{
    components MainC;
    components ButtonToSerialC as AppC;
    components LedsC;
    components RandomC;
    components new TimerMilliC() as TimerC;
    components new Atm128GpioInterruptC() as Atm128GpioInterruptC;

    AppC.Boot -> MainC.Boot;
    AppC.Leds -> LedsC.Leds;
    AppC.Random -> RandomC.Random;
    AppC.Timer -> TimerC.Timer;
    AppC.GpioInterrupt -> Atm128GpioInterruptC.Interrupt;
}
_______________________________________________________________________________

I think that I have forgotten something important...
Where shoud I define the pin that I want to use?

THANK YOU!!


-- 
Jordi Casals
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070129/0d69b9d2/attachment-0001.htm


More information about the Tinyos-help mailing list