Turns off when trying to run program

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

Turns off when trying to run program

Postby Xpyd3r » Fri Nov 30, 2007 10:14 pm

I have got the Tune sample to work fine but when i try to run the R2MeToo code that I typed up as per the book, it just stops, not sure if its a coding problem or if its trying to run or personally iI think its just turning off.. Any help or suggestions?
Xpyd3r
Novice
 
Posts: 50
Joined: Tue Aug 07, 2007 5:58 am

Postby lawrie » Sun Dec 02, 2007 9:13 am

It is better to download the code from the book's website rather than typing it in. Check your batteries have sufficient power. If you have motors connected to B and C your robot should start moving forwards when you run the program. Does it do this? If the NXT has shut down, pressing the orange (ENTER) button will start it up again. You can use this as a test of whether it has shut down. If you press the Orange and gray rectangle buttons together (ENTER + ESCAPE) and the NXT is still running you will see a line across the LCD display and the NXT will shut down. This shows that it was still running.
lawrie
leJOS Team Member
 
Posts: 909
Joined: Mon Feb 05, 2007 1:27 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 3 guests

more stuff