|
Re: Trouble with pwm outputs
the only situation in which I could think printf would use a pointer is in printing a string, as that is a character array and thus must be passed by reference.
as Mike said, you have to have the 0 in the % code to tell printf to pad with zeros - otherwise it pads with spaces.
|