We uninstalled the previous version before loading 1.46.The batteries are charged.The HiTechnic controllers are attached to port 1.The servos were working before we loaded 1.46.Our power switch is on.This is the code we are running:

servoTarget[servo1] = joystick.joy2_x1 + 127; //We're setting the servo's position here to the joystick's Left X-axis //But since Servos range from 0-255 and Joysticks range from -127 to 127 //We'll add the lower limit of the joystick (127) to make the ranges match.

We finally figured this out. We reloaded all software and took everything apart and reassembled -- basically started over from the beginning. Turns out we had the cable hooked into the motor controller backwards. We did not realize the colors were not aligned properly! Once we flipped the cable, everything worked fine. Thanks for your help.

Who is online

Users browsing this forum: No registered users and 2 guests

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