PWM primitive not working?

For general discussion related FlowStone
Post Reply
Asbjørn
Posts: 45
Joined: Thu Sep 16, 2010 11:51 am

PWM primitive not working?

Post 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?
Attachments
Untitled.jpg
Untitled.jpg (39.28 KiB) Viewed 15839 times
Embedded
Posts: 143
Joined: Sat Oct 30, 2010 1:42 pm

Re: PWM primitive not working?

Post 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:
Attachments
pulse.fsm
Digital pulse project
(515 Bytes) Downloaded 1478 times
DSP
Posts: 150
Joined: Fri May 14, 2010 10:55 pm

Re: PWM primitive not working?

Post 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.
Post Reply