View unanswered posts | View active topics It is currently Tue Sep 23, 2014 9:23 pm






Reply to topic  [ 2 posts ] 
File write and read program 
Author Message
Rookie

Joined: Sat Dec 06, 2008 6:34 am
Posts: 2
Post File write and read program
Hey all,

I want to make 2 programs:

One program that makes the robot move forward until a touch sensor is pushed. Then it writes the amount of degrees the motors have turned (before the robot stopped) in a file.

The other program reads that amount from that file and displays this on the NXT screen.

Optional:
It sends this amount using bluetooth to my laptop.

I can make that the robot moves forward until push, but the file writing and reading... I don't understand that.

Please help.


Sun Dec 07, 2008 2:22 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Jan 31, 2007 3:39 am
Posts: 299
Location: San Diego, California. USA
Post Re: File write and read program
Hey Crocopep,

Have you taken a look at the sample programs? You may be interested in the NXT Text File IO

Good luck B-)
Scott

_________________
Mmmm Legos B-)

My Robot Projects:
http://www.freewebs.com/robotprojects/


Wed Jan 07, 2009 4:58 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

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.