This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sending string on serial port

Hi everyone,

is there anyone who could help me with following?

In x51 processor You have SBUF buffer which is used to send or receive a character via serial port.
Is there any way to send a string? Not only a single character, but whole string?
I thought there could be any library which deals with it.
Or do I have to write it myself? I'm using Keil of course.

Would You be so kind and help?

Parents
  • "ATMEGA32"

    Why are you posting AVR code for a non-Keil compiler??

    That's almost entirely irrelevant, since issues related to Port IO and interrupts a almost entirely target- and compiler-specific!

    Keil does not have a SIGNAL macro or keyword - and it's deprecated in AVR-GCC anyhow!

Reply
  • "ATMEGA32"

    Why are you posting AVR code for a non-Keil compiler??

    That's almost entirely irrelevant, since issues related to Port IO and interrupts a almost entirely target- and compiler-specific!

    Keil does not have a SIGNAL macro or keyword - and it's deprecated in AVR-GCC anyhow!

Children