Sorry I can't help any further as I don't use ReadStream
or any other TOS2 interfaces... You are probably on the
right track in looking at Microphone sampling apps.
MS
Kushal Sarkara wrote:
Michael,
Thank you for your response. In keeping with the topic of our original
conversation, I am
Michael,
Thank you for your response. In keeping with the topic of our original
conversation, I am still trying to implement the ReadStream interface to
sample the MicaZ accelerometer.
After sampling at the prescaler setting that guarantees full precision
(which is ATM128_ADC_PRESCALE_64 for the
Hello,
I am using TinyOS 2.1.1 on Ubuntu 9.10 with MicaZ motes. I am looking to
alter the value of the prescaler while sampling the X axis of the
accelerometer on the mts300 sensorboard.
After doing some digging, I found the
file /tos/sensorboards/mts300/AccelP.nc which returns the value of the
Changing the return value will have no effect on the ADC.
There used to be an interface for this that was actually
documented in the code:
ADCControl.setSamplingRate(uint8_t rate);
The name may have changed to setPrescaler() or something
more obvious.
MS
Kushal Sarkara wrote:
Hello,
I