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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/30/04 08:43
Read: times


 
#82221 - How to post code
Responding to: ???'s previous message
When you post code, you need to enclose it within <pre> and </pre> HTML tags - so that your formatting is preserved.

For example:
<pre>
void SPI_out(int send,int l_add,int u_add) 
{ 
   DPH = u_add; 
   DPL = l_add; 
   SPDR = send; 
   while(SPSR != 0x80); 
}
</pre>
(Of course, when you do it, you won't actually see the <pre> and </pre> tags!)

Use the 'Preview' button to check before you press the 'Post' button.


List of 20 messages in thread
TopicAuthorDate
has anybody used SPI            01/01/70 00:00      
   more details please            01/01/70 00:00      
      details            01/01/70 00:00      
         missing code?            01/01/70 00:00      
         How to post code            01/01/70 00:00      
   The story so far?            01/01/70 00:00      
   no solution            01/01/70 00:00      
      all is replied above            01/01/70 00:00      
      So you want a solution?            01/01/70 00:00      
         code and schematic            01/01/70 00:00      
            unconnected reset?            01/01/70 00:00      
            How about some clocking ??            01/01/70 00:00      
            Code still illegible!            01/01/70 00:00      
            is it C-language?            01/01/70 00:00      
               reply of queries            01/01/70 00:00      
                  complaining            01/01/70 00:00      
                  Do you want to be helped?            01/01/70 00:00      
                     Watch window in Keil            01/01/70 00:00      
                        Registers window in Keil            01/01/70 00:00      
   EA            01/01/70 00:00      

Back to Subject List