Go to Post Just a modest request for folks NOT to put 3000-pixel-wide pictures inline in the forum. A link to the big picture works just as well while keeping the text readable. Thanks. - Rick TYler [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #15   Spotlight this post!  
Unread 01-20-2010, 04:44 PM
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Grabbing Output from Robot Sensors

did you have \r\n at the end of the printf's? this is the new line sequence. if you have printf("part 1") (more code here) printf("part 2 \r\n"), it should output like this:
Code:
part 1 part 2
part 1 part 2
part 1 part 2
part 1 part 2
part 1 part 2
part 1 part 2
part 1 part 2
part 1 part 2
part 1 part 2
so you can see 1 and 2 as the numbers fly by instead of
Code:
part 1 part 2part 1 part 2part 1 part 2pa
rt 1 part 2part 1 part 2part 1 part 2part 
1 part 2part 1 part 2part 1 part 2part 1 
part 2part 1 part 2part 1 part 2part 1 pa
rt 2part 1 part 2part 1 part 2part 1 part 
2part 1 part 2part 1 part 2part 1 part 2p
art 1 part 2part 1 part 2part 1 part 2par
t 1 part 2part 1 part 2part 1 part 2part 
1 part 2part 1 part 2part 1 part 2part 1
 part 2part 1 part 2part 1 part 2
and you have to do a print screen to look at them
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem receiving console output from cRIO Arborama Programming 7 02-15-2009 03:30 AM
Weird output from ultrasonic and gyro Yuan Xue Lim Programming 4 02-11-2009 07:01 PM
live input/output to/from application MarkH Programming 3 04-06-2006 01:43 AM
Weird Output from Dashboard Port Ian W. Programming 9 03-06-2004 09:33 PM
output from a cell phone? Ben.V.293 Electrical 6 12-24-2003 02:52 PM


All times are GMT -5. The time now is 10:30 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi