|
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.
|