11-09-2014 09:51 PM
in the schematic editor, the two servos we have connected work perfectly fine. In the remote control editor, for one the buttons, we chose the action "move to position", selected one of the servos, and set a certain position for it, then generated the code for it. If we run the prototype from the remote control editor, the servos respond perfectly good according to the position set and everything. However, when we run the teleop (without making any changes to the code generated) the NXT automatically exits the program and displays "file error".
We have tested out other programs that dont include the code for the servo, and work perfectly fine. The error comes up just when the servos are added into the teleop code. Any Help to fix that?
And thats the code generated for the servo.
11-10-2014 11:10 AM
I reproduced the program using OSX 10.9 and Windows 7 operating systems, and was able to run the teleop program without error.
Are you sure the brick has sufficient memory? Try deleting images and sounds, and any old programs from the brick using the NXT Terminal.
11-10-2014 11:37 AM
thanks for the advise, ill try that as soon as i can
11-14-2014 10:22 AM
Did this end up working for you?
11-15-2014 02:22 AM
Definitely, we had so much memory been used, now it works perfectly fine, Thanks