Go to Post You know when the school health nurse advises "always wear a condom"? She doesn't actually mean "ALWAYS". ::safety:: I think Dean and Woodie have a pretty good idea of when they need safety glasses and when they don't. Jason - dtengineering [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
  #10   Spotlight this post!  
Unread 15-01-2004, 00:29
Just3D Just3D is offline
Programmer/Electrical Sys
AKA: Justin Layne Nordin
#1460 (Robolution)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Houston, Texas
Posts: 4
Just3D has a little shameless behaviour in the past
Re: Trouble with pwm outputs

You are correct. The & symbol denotes the address of a variable, passing this information to the printf function. Printf requires a pointer, which is why the & is needed.

However, I realized my mistake:

This is the behavior of the standard C printf function, and I believe the default code comes with a new re-written printf function, in which case the & might not be necessary at all. I just got started with this specific compiler, so I'm still getting accustomed to the new conventions. Thanks for the insight.
 


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
Tether for new EduBot Controller gburlison Programming 9 18-12-2003 17:53
pwm 13-15 wayne 05 Programming 2 04-10-2003 12:08
PWM and burning out motors patrickrd Technical Discussion 7 19-06-2003 15:30
Hints For Rookie Programmers Noah Programming 30 20-02-2003 20:07
relay and pwm outputs nick_champ_2 Electrical 1 31-01-2003 13:08


All times are GMT -5. The time now is 03: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