Hi Charles
That's how I turn the MDA320's excitation and I think basically they should be
the same:
In the configuration:
components MicaBusC;
App.ExenablePin -> MicaBusC.PW7;
App.VOLTAGE_BOOSTER -> MicaBusC.PW1;
App.VOLTAGE_BUFFER -> MicaBusC.PW2;
App.THREE_VOLT -> MicaBusC.PW3;
App.FIVE_VOLT -> MicaBusC.PW5;
In the module:
interface GeneralIO as ExenablePin;
interface GeneralIO as VOLTAGE_BOOSTER;
interface GeneralIO as VOLTAGE_BUFFER;
interface GeneralIO as THREE_VOLT;
interface GeneralIO as FIVE_VOLT;
void Excitation_Control_33(bool Status){
if(Status){
call ExenablePin.makeOutput();
call VOLTAGE_BOOSTER.makeOutput();
call VOLTAGE_BUFFER.makeOutput();
call THREE_VOLT.makeOutput();
call ExenablePin.set();
call VOLTAGE_BOOSTER.clr();
call VOLTAGE_BUFFER.set();
call THREE_VOLT.set();
}
else{
call VOLTAGE_BOOSTER.set();
call VOLTAGE_BUFFER.clr();
call THREE_VOLT.clr();
}
}
I can turn on and off the excitation on MDA320. Hopefully there's some other
ways but this works to me already.
Zhen
________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Charles Elliott [EMAIL
PROTECTED]
Sent: Monday, October 20, 2008 12:10 PM
To: [email protected]
Subject: [Tinyos-help] Excitation pins on MDA300
Hello All
Sorry about the previous bad subject.
Does anyone know how to turn on the excitation pins on the MDA300 and how
much current they can provide?
Thanks
Charles
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help