Go to Post Nominate your mentor for WFA, it's the best way to say 'Thank You'. - Brandon Martus [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 07-02-2008, 20:41
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Printf prints only the first character

Quote:
Originally Posted by wireties View Post
Have you added recent code that generates a lot of interrupts? You could be missing some now. Or maybe...

Your output is going crazy when you try to print your first variable. Is there something wrong with your variables? Is the linker giving you any warnings?


HTH
I don't have many interrupts firing at all, and I haven't added any for quite a few builds. It looks like it is the variables making it stop working...and i've seen some pretty strange stuff involving my EEPROM_Read2Byte function (it was CRASHING the COMPILER... ) so maybe...

Code:
unsigned int EEPROM_Read2Byte(unsigned int arg_address) {
	//Return the parameter.
	return (EEPROM_Read(arg_address) * 0x100) + EEPROM_Read(arg_address+1);
}
See anything wrong? It's Kevin Watson's EEPROM code with my own function added for 2-byte variables...

Now, why don't we have a "beating head on brick wall" smiley?

JBot
__________________
Aren't signatures a bit outdated?
 


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
THE FIRST AND ONLY PALMETTO FANTASY FIRST LEAGUE (so far!) Billfred Fantasy FIRST 106 04-04-2005 22:52
printf isn't printf-ing. Help! Meandmyself Programming 14 15-02-2004 16:27
pic: And it's only the first day... CD47-Bot Chit-Chat 8 17-01-2004 20:21
An effort to get all the blue prints measurment archiver 2001 1 23-06-2002 22:43


All times are GMT -5. The time now is 19:15.

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