Go to Post I don't remember ever having "attack of the jumbo ball" in FRC! - Beth Sweet [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 12-03-2005, 20:34
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Weird problem..

For some reason, printf()'s only display while the robot is still on after being programmed. If I reset the robot, the printf's come across garbled..

Any way to fix this? I'm not even sure what could cause it (I did remove user_serialdrv from the project, and all code.. when I re-add it I get the RC program light flashing between red and green)
  #2   Spotlight this post!  
Unread 13-03-2005, 11:25
Embok's Avatar
Embok Embok is offline
Seriously now, who is JVN?
AKA: Eric Rene de Cotret
#0188 (Blizzard)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Toronto
Posts: 20
Embok is on a distinguished road
Re: Weird problem..

I'm not sure what you mean by garbled, could you show me the line with the printf and maybe better explain what garbled means?
__________________
Happy Programming
  #3   Spotlight this post!  
Unread 13-03-2005, 12:07
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: Weird problem..

Example line
printf("Pos is %i\r",(int)cpos);

After I program, it comes across as Pos is 204
After reset/power off it comes across as maybe |8|8|8|8|8|8|8|8|8|8 or some other random stuff
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
Programming Problem: Extremely Frustrating chantilly_team Programming 19 12-02-2005 23:00
Weird problem with if statements psquared Programming 7 27-01-2005 13:02
Victor problem Andy Baker Electrical 15 24-06-2003 09:49
The problem with scouting... archiver 2001 10 23-06-2002 23:49
Major problem with chipphua motors aka Scott White Motors 18 19-03-2002 19:44


All times are GMT -5. The time now is 00:16.

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