View unanswered posts | View active topics It is currently Sat Dec 27, 2014 5:11 pm






Reply to topic  [ 3 posts ] 
Writing to log? 
Author Message
Rookie

Joined: Thu Apr 23, 2009 7:37 pm
Posts: 2
Post Writing to log?
Is there a way to write to a log/file that can be read later? It would make tracing through what my program is doing much easier.


Thu Apr 23, 2009 8:42 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3311
Location: Rotterdam, The Netherlands
Post Re: Writing to log?
Hiya Dest,

You can use datalogging. The trouble with writing to the flash memory all the time is that every write will interrupt all the other stuff for quite a while (a couple of ms). The datalogging mechanism will store the data in RAM and write it to memory when you tell it to. Have a look in the samples directory for the example.

Regards,
Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Fri Apr 24, 2009 1:50 am
Profile WWW
Rookie

Joined: Thu Apr 23, 2009 7:37 pm
Posts: 2
Post Re: Writing to log?
Ah, thanks.


Fri Apr 24, 2009 2:21 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 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.