|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#15
|
||||
|
||||
|
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. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |