Respected Janos
I followed your instruction and was able to modify the TestADC application
to wire it to the MicStreamC interface and comment out the ReadNow part.
Though it compiles and installs without any error but as I turn the mote on
it does not turn on any of the leds on.

I tried putting led commands at both places
event void ReadStream.bufferDone( error_t result,
             uint16_t* buffer, uint16_t count )
  {
    streamSuccess = TRUE;
    call Leds.led0On();
  }

  event void ReadStream.readDone(error_t result, uint32_t actualPeriod)
  {
    if (result == SUCCESS && streamSuccess)
      call Leds.led0On();
  }

But none of the leds is glowing.

I even tried building on the Oscilloscope Skeleton using the ReadStream
Interface but similarly the led's were not glowing and no packets were
received.

Could you please tell me where I am going wrong.

Regards
Akankshu Dhawan

-- 
First they ignore you, then they laugh at you, then they fight you, then you
win.
- Mahatma Gandhi
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to