View unanswered posts | View active topics It is currently Mon Oct 26, 2020 8:33 pm

Reply to topic  [ 1 post ] 
Problem with RobotC 2.01 Joysticks 
Author Message
User avatar

Joined: Sat Oct 10, 2009 2:37 pm
Posts: 5
Post Problem with RobotC 2.01 Joysticks
Whenever I try to utilize the joysticks in code such as:

nMotorPower = joystick.joy1_y1;

I get extraneous results. For instance, if I put the joystick all the way up, nMotorPower will be -127, but when I push it all the way down its also equals -127. When the stick is centered it is either 0 or -255 depending on how it settles. I have experienced this problem in every program I try. Even the sample programs don't work. I have reinstalled the firmware on my brick, but that did not help.

Please let me know if there is a possible solution.

Thu Feb 11, 2010 5:33 pm
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.