Hello, 

     check in to tinyos-2.x-contrib/cedt, copy the tos/chips/atm128/adc/sim 
folder to your local $(TOSDIR)/chips/atm128/adc.  The sim folder contains an 
HPL version, that simulates the ADC functionality (currently returns random 
values).
     Also, while compiling to tossim, DemoSensorC file is taken from the 
tos/lib/tossim directory, which uses a component that returns a constant value 
0xbeef.  Redirect it to take the actual hardware DemoSensorC which is in 
tos/platforms/micaz.

Hope this helps.

--
Regards, 
Venkatesh S



-----Original Message-----

Date: Sat, 21 Jul 2007 06:35:02 -0700 (PDT)
From: Farhana Khan <[EMAIL PROTECTED]>
Subject: [Tinyos-help] About DemoSensorC implementations
To: [email protected],
        [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Hello
   
  I am working in Tinyos 2.0 using TOSSIM and needs some information regarding 
the DemoSensorC component. Each time when I run the Sense and radiosensetoLeds 
application under TOSSIM, it returns me same constant values for no matter how 
long I run the application.
   
  Can you please guide me how can I get random values while working in TOSSIM 
as getting with the ADC and ADCControl interfaces and component photo in TinyOS 
1.x.
   
   
  Regards
  Farhana

       

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to