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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/14/06 06:30
Read: times


 
#118258 - Compiler
Responding to: ???'s previous message
Kalpak Dabir said:
With some compilers, like Raisonance, the printf statement is good enough for simple serial transmission.

Yes, the same applies to Keil:

Keil's printf uses putchar; Keil's standard putchar uses polled output to the 8051's standard UART.
See the C51 Manual

Keil also provides a "Hello, world" sample project that writes to the UART. Use that as your starting point.



List of 7 messages in thread
TopicAuthorDate
I Can't Transmit Using Serial Port            01/01/70 00:00      
   This looks familiar:            01/01/70 00:00      
      a guess            01/01/70 00:00      
         For the sake of completeness:            01/01/70 00:00      
   Which C compiler?            01/01/70 00:00      
      Compiler            01/01/70 00:00      
         Hai            01/01/70 00:00      

Back to Subject List