Go Down

Topic: Xbox wireless pad,processing and PWM (Read 557 times) previous topic - next topic

Max89

I have problem with processing script data output.
So there is https://dl.dropbox.com/u/35963789/processing%20code.txt processing  code - it send data from right trigger to first detected COM port.

And ardiono part [https://dl.dropbox.com/u/35963789/Arduino%20code.txt  - simple PWM sketch.

But there is some glitch - LED have only two states - on and off.  I'd probably messed input/output data types (HEX/DEC) and I can't find way out...
I have solution !
But it involves spherical chickens in frictionless vacuum...

PaulS

If the code is all that simple, post it here. If it isn't, create something simple that illustrates the problem, and post that here.

Quote
But there is some glitch - LED have only two states - on and off.  I'd probably messed input/output data types (HEX/DEC) and I can't find way out...

More likely, you are trying to use a pin that doesn't support PWM.

Max89

I have solution !
But it involves spherical chickens in frictionless vacuum...

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview