View Single Post
  #12   Spotlight this post!  
Unread 30-01-2004, 14:06
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Writing to Files

Quote:
Originally Posted by JoshJ
What i was trying to do was write to a file on the PC, while the robot is tethered (instead of printf to a screen, output to a file). I understand that there is no place for it on the RC, except EEPROM and whatnot. We've just had problems with EEPROM, with trying to retrieve data, and we're not quite sure how to shift hex storage locations and all the other stuff that comes with using EEPROMs. Any more help would be appreciated, thanks again.
Write a program that takes the printf() transmissions and logs them in a file. Like he said, VB (or VBA if your desperate) and MSCOMM should do the trick. I have a feeling (don't quote me on this) that if you set it to text mode, the receive buffer should be whatever is sent. But I haven't tested this hunch (yet).