Page 1 of 1

PWM primitive not working?

Posted: Sat Jan 29, 2011 11:22 pm
by Asbjørn
I'm trying to pulse a digital out port on a Phidget interface board, the only way I've found to do this is with the PWM primitive, but It doesn't seem to be working.

Am I doing something wrong, or is there a bug in the PWM primitive?

Re: PWM primitive not working?

Posted: Sat Jan 29, 2011 11:50 pm
by Embedded
Yes, this is totally wrong for what you are trying to do! (FYI There was a bug in the PWM but this was fixed in the last version)

The blue connections in FlowStone are dedicated to audio!

The Green stuff is for data!

Here is a very simple pulse project in 'Green' that is ideal to connect to a Phidgets digital output:

Re: PWM primitive not working?

Posted: Sat Jan 29, 2011 11:54 pm
by DSP
There are some good examples that you can learn from!

Here is a knight rider example, this one uses a counter:
http://www.dsprobotics.com/support/viewtopic.php?f=11&t=132

If you connect your Phidgets digital outs to the outputs of the LEDs in this example you will have a hardware equivalent of this Knight Rider Example.