so, 
Any suggestions regarding the change in the
Oscilloscope program? Or better...can anyone post both
versions of the files in the mail?

thanks a ton,
Kanishk.

--- Kanishk Panwar <[EMAIL PROTECTED]> wrote:

> apparently there are 2 OScope programs !!!
> 
> C:\Program
> Files\UCB\cygwin\opt\tinyos-1.x\apps\Oscilloscope
> 
> AND
> 
> C:\Program
>
Files\UCB\cygwin\opt\tinyos-1.x\contrib\moteiv\apps\Oscilliscope
> 
> 
> TIMER_REPEAT was ONLY found in first application
> path
> 
> 
>   /**
>    * Starts the SensorControl and CommControl
> components.
>    * @return Always returns SUCCESS.
>    */
>   command result_t StdControl.start() {
>     call SensorControl.start();
>     call Timer.start(TIMER_REPEAT, 125);
>     call CommControl.start();
>     return SUCCESS;
>   }
> 
> -Kanishk.
> 
> --- Harri Siirtola <[EMAIL PROTECTED]> wrote:
> 
> > 
> > To be exact, the parameter is binary milliseconds.
> > To get an accurate 8 sec 
> > interval you should use 8000 * 1024.
> > 
> > Regards,
> > 
> >          Harri
> > 
> > At 09:50 AM 5/11/2006 +0100, Michael Collett
> wrote:
> > >Kanishk,
> > >
> > >I think all you need to do is edit the line in
> > OscilloscopeM.nc
> > >
> > >call Timer.start(TIMER_REPEAT, 8000);
> > >
> > >The timer units are in miliseconds, so 8000 would
> > give you timer triggers 
> > >every 8 seconds. You can look at the timer
> > interface in tos/interfaces for 
> > >a bit more info.
> > >
> > >Mike
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
>
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 


============================================
KANISHK PANWAR
Dept. of Computer Science, 
Rochester Institute of Technology,
247 Kimball Drive, Rochester, NY 14623, USA.   
Phone: 585 424 8633
Mobile: 585 503 3447
============================================

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to