Hi Shang,

 

Sorry, it was a typo, there should be no "PIR" in that line

 

Please also post your questions to tinyos-help as others can contribute
as well. I know this was specific reference to my email but just I n
case I cannot reply some other people can surely do that......

 

Regards,

Varun Jain

 

From: Shang Lin Chua [mailto:[email protected]] 
Sent: Wednesday, 14 July 2010 2:32 PM
To: Varun Jain
Subject: TinyOs ADC help

 

Hi Varun,
I saw your post
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2009-August/04
1498.html, helping Farooq with the ADC problems.
I was looking at your code, 

generic configuration SensorC() {

  provides interface Read<uint16_t>;

}

implementation {

  components new AdcReadClientC(),SensorP;

  components HplAtm128GeneralIOC as AtmGeneralIO;




  

  Read = AdcReadClientC;

  AdcReadClientC.Atm128AdcConfig -> SensorP;

  AdcReadClientC.ResourceConfigure -> SensorP;

  

  PIRSensorP.SensorPin -> AtmGeneralIO.PortF0; //Port F0 - Pin 11 on
Pinhead 4 of chipconz




}

was PIR there intended? or just atypo error?

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

Reply via email to