[Tinyos-help] Re: DAC on telosb

Joe Polastre joe at polastre.com
Tue Sep 20 15:12:43 PDT 2005


> Q1: Does the TestDAC12 output on DAC0 pin?

  As per the configuration:

  Impl.DAC -> MSP430DAC12C.DAC0;       // use DAC0

> Q2: How do I change TestDAC12M.nc to keep
> the DAC outputing the sine wave continuously?
> Or does it already do that? Sorry I cannot
> figure it out.

  It outputs continuously.

  async event void DMA.transferDone(result_t s){
    atomic {
      call Leds.yellowToggle();
      call DMA.startTransfer();
    }
  }

> Q3: If a speaker is connected to DAC0 pin,
> without an amplifier, will I be able to
> observe the sine wave on a scope?

Yes.

-Joe



More information about the Tinyos-help mailing list