Pages: [1]   Go Down
Author Topic: Xbox wireless pad,processing and PWM  (Read 506 times)
0 Members and 1 Guest are viewing this topic.
Poland
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
Newbie
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

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

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Poland
Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
Newbie
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So simple.... I must check !
Logged

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

Pages: [1]   Go Up
Jump to: