|
Page 1 of 1
|
[ 3 posts ] |
|
| Author |
Message |
|
Dest
Rookie
Joined: Thu Apr 23, 2009 7:37 pm Posts: 2
|
 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 |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2860 Location: Rotterdam, The Netherlands
|
 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
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Fri Apr 24, 2009 1:50 am |
|
 |
|
Dest
Rookie
Joined: Thu Apr 23, 2009 7:37 pm Posts: 2
|
 Re: Writing to log?
Ah, thanks.
|
| Fri Apr 24, 2009 2:21 pm |
|
|
|
Page 1 of 1
|
[ 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
|
|