In the body of your ReadNow.readDone() event you would want to post a
task that then signaled your Read,readDone() event. Your application
wouldn't receive the results at exactly 2 kHz (because of the delay in
posting the task and the scheduler actually running it), but the
samples should be
Philip Levis wrote:
The TinyOS programming manual covers this topic (async).
thanks :) I read the programming guide, but I'm still lost.
I managed to create a component (see attached), that basically uses the
decorator pattern to query an underlying Read component at specified
intervals, and at
Ákos Maróy wrote:
but then I get s range of compilation issues - like I can't seem to
signal Read.readDone() from the async ReadNow.readDone() event, for example.
I see something.
uses interface Readuint16_t as Sensor;
Now you need something like
Read.read - HighFrequencySensor.read
and
On Aug 19, 2007, at 3:31 PM, Ákos Maróy wrote:
I'm trying to get the Oscilloscope application read samples from an
ADC
input at 2kHz. This required a finer-grained timer then the
millisecond-based timer originally in the application.
Unfortunately, I haven't seen a 32kHz implementation of
I'm trying to get the Oscilloscope application read samples from an ADC
input at 2kHz. This required a finer-grained timer then the
millisecond-based timer originally in the application.
Unfortunately, I haven't seen a 32kHz implementation of the Timer
interface for the msp430 platfrom. But, I