Go to Post Surely any group of rational human beings (which FIRST seems to attract) can work this out. - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 18-01-2007, 18:42
hanan hanan is offline
Registered User
no team
 
Join Date: Jan 2007
Location: Israel
Posts: 14
hanan has a spectacular aura abouthanan has a spectacular aura about
Question joystick sensitivity

Hi,
I am using easyC pro and I am confused.
Downloaded the 2007demo code.
1) Is there a way to read the outputs of the joystick according to a specific axis? (just like in mplab, where you have p1_y for joystick1, from Kevin's code). I want to be able to control only one axis at a time in order to drive like a tank. For now, I am using this "arcade2" or "arcade4" block, and its just like a black box for me. I want to be able to check for each bottom in the joystick, if it was pushed - to do something (like in mplab, but in easyC, without any block "OI to relay" or something like that)
2) Joystick is too sensitive. I want to be able to write:
setPWM(my_motor_pwm, joystick value corresponding to speed);
and not to use this arcade2 block that automaticly sends pwm from both axis, all time. don't want that.
I want the freedom to choose.
Can you help me guys?
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accelerometer Sensitivity zachriggle Programming 0 27-01-2006 23:16
White Paper Discuss: Joystick Sensitivity Demystified - Version 2 marccenter Extra Discussion 0 28-02-2005 16:54
joystick sensitivity Team 668 Programming 11 16-02-2005 18:45
Help with Joystick Axes and Sensitivity bglass Programming 6 06-02-2005 14:01
Adjusting Sensitivity/Scale of Controls archimedes Control System 6 14-01-2005 10:30


All times are GMT -5. The time now is 20:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi