Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/11/05 14:05
Read: times


 
#84751 - Still a problem, then...
Responding to: ???'s previous message
Rob Woodhouse said:
i rearranged the order in which i printed and it worked ??
strange!

That almost certainly means that you are still using the wrong printf format specifiers - your code is probably working by luck rather than design!

This will certainly come back to bite you if you don't really get it nailed now!

please post the smallest complete example that exhibits the problem (and the re-ordered version that "works"); See here for how to post code.

http://www.8052.com/forum/read.phtml?id=84750

List of 23 messages in thread
TopicAuthorDate
Multiplication Problems and data types            01/01/70 00:00      
   use unsigned int for totcount            01/01/70 00:00      
   Wrong printf format specifier?            01/01/70 00:00      
      yes i am using printf            01/01/70 00:00      
         manual!            01/01/70 00:00      
            using %d and %x            01/01/70 00:00      
               %u            01/01/70 00:00      
               Exactly what it says on the tin!            01/01/70 00:00      
                  Division problem?            01/01/70 00:00      
   division problem in keil evaluation?            01/01/70 00:00      
      Which Part?            01/01/70 00:00      
      its ok i have sorted it!            01/01/70 00:00      
         Still a problem, then...            01/01/70 00:00      
         not so strange            01/01/70 00:00      
            Not so strange?            01/01/70 00:00      
      Need complete code!            01/01/70 00:00      
         Like this            01/01/70 00:00      
         code            01/01/70 00:00      
            Calling printf from an ISR            01/01/70 00:00      
               other interrupts wont get in the way            01/01/70 00:00      
                  ISR            01/01/70 00:00      
                     yes i see what you mean            01/01/70 00:00      
                  No No Inside ISR            01/01/70 00:00      

Back to Subject List