A new forum for announcements and news

30 Jun 2010

We've added this forum so you can post about new and cool things in the world of mbed.

We're expecting info like:

  • Sharing a project you've just finished or found by point us to the cookbook/video/website etc
  • Showcasing an mbed-compatible baseboard or related product you've just made available
  • Highlighting upcoming events or workshops around or interesting to mbed
  • Other things that aren't really a question?

Hopefully it can be a little bit like a community blog. Each post should be a new thread, and then people can comment as they wish.

Simon

23 Oct 2010

Hello Simon,

I want to use PWM to generate a frequenz for sound * numbers of form to put out sound direct via AlaogOut.

I have written sounds with Play_Note(float note, float lengh, bool combine, float loud, int instrument),

than I generate PWM with 1/note* number of points os form (so 47 to 58)

now I want to use PWM.read() to syncronice a FOR controll to read data of form to send there to analogOut(p18).

How can I be sure that on every rise of PWM I get a signal to start FOR?

I have tryed with IF (PWM.read() == 1) ... but it seems not running good. ist there annother way?