Hi all, 1
I made a platform and I am trying out the timers. The Alarm32Khz16C is working good but If I uses interface BusyWait<TMilli, uint16_t> as PreciseWait; ( -> BusyWaitMilliC ) and I test call Leds.led2On(); //yellow call PreciseWait.wait(5); call Leds.led2Off(); //yellow I get a delay of 187.5us with a big jitter of ±12.5us This corresponds to ticks of 30.5us (T32Khz) instead of (TMilli). Any thoughts about the wrong precision or the big jitter? 2 When I try to wire my BusyWait like this: uses interface BusyWait<T32khz, uint16_t> as PreciseWait; ( -> BusyWait32khzC ) This is what I get In component `BusyWait32khzC': /opt/tinyos-2.x/tos/chips/msp430/timer/BusyWait32khzC.nc: At top level: /opt/tinyos-2.x/tos/chips/msp430/timer/BusyWait32khzC.nc:39: cannot find `BusyWaitCounter' Ok I found this error in the Wait32khzC.nc line 39 (C is missing) 38 BusyWait = BusyWaitCounterC; 39 BusyWaitCounter.Counter -> Msp430Counter32khzC; Does anyone care to correct the source CVS? Thanks,
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help