View unanswered posts | View active topics It is currently Fri Apr 20, 2018 5:07 am






Reply to topic  [ 2 posts ] 
NXT display for line counting 
Author Message
Rookie

Joined: Fri Apr 26, 2013 11:05 am
Posts: 39
Post NXT display for line counting
We are learning how to write code for line counting. We can see through the debug windows and local variables windows how many lines are being counted when the NXT is connected to the computer with the USB cable.
Is there a way for us to see the data stored on the NXT, after it has collected this information and is not connected to the computer?
Thanks!


Thu Apr 13, 2017 1:59 pm
Profile
Expert

Joined: Thu Dec 01, 2011 12:07 am
Posts: 151
Post Re: NXT display for line counting
You probably have the values stored as variable(s). The first trick is going to not end your program because this loses your variable(s). Next you may want to rewrite your code to put the data into an array variable, this will allow it to be accessed easier. Finally you will code a menu to display the variable(s).
Please post your code and ask specific questions if you need more help.
Good luck.


Fri Apr 14, 2017 9:27 am
Profile
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.