Go to Post Many would say it is both gracious and professional to make sure your robot will not damage another team's robot. - 4throck [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-01-2007, 02:38
robind robind is offline
Registered User
FRC #0675
 
Join Date: Dec 2006
Location: Rohnert Park
Posts: 31
robind is an unknown quantity at this point
Re: printf & User_Autonomous_Code

Ah, sorry, I guess I wasn't clear enough.

I'm calling printf('hello world'); from user_routines_fast.c/User_Autonomous_Code in the 'slow' (26.2ms loop area) loop.
  #2   Spotlight this post!  
Unread 20-01-2007, 02:43
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: printf & User_Autonomous_Code

Quote:
Originally Posted by robind View Post
Ah, sorry, I guess I wasn't clear enough.

I'm calling printf('hello world'); from user_routines_fast.c/User_Autonomous_Code in the 'slow' (26.2ms loop area) loop.
You need to use double quotes.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #3   Spotlight this post!  
Unread 20-01-2007, 02:44
robind robind is offline
Registered User
FRC #0675
 
Join Date: Dec 2006
Location: Rohnert Park
Posts: 31
robind is an unknown quantity at this point
Re: printf & User_Autonomous_Code

Ah, my mistake, I am using double quotes. Astronouth just informed me that I need to include the newline or else it won't flush. I'll give that a shot tomorrow.
Closed Thread


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
Printf BillyJ Programming 9 21-01-2006 14:03
pic: The Bobcats 2001 & 2003 & Admirers CD47-Bot Robot Showcase 19 28-02-2004 12:36
printf isn't printf-ing. Help! Meandmyself Programming 14 15-02-2004 16:27
User_Autonomous_Code() questions sscanf Programming 8 07-02-2004 07:16


All times are GMT -5. The time now is 04:05.

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