arduino function output

Hi

I have been working with arduino IDE...
but since last 2 weeks I have faced this code:

void StringPgm(const char * str){
  do{
      while (!(UCSR0A & (1 << UDRE0)));//wait for byte to transmit
      UDR0 = pgm_read_byte_near(str);
      while (!(UCSR0A & (1 << UDRE0)));//wait for byte to transmit
  } while (pgm_read_byte_near(++str));
}

StringPgm(PSTR("*RDY*"));

after googling I noticed that it's for serial print on Atmel studio.
but I have some difficulties to view the output...

I would really appreciate it if some one help me out.
Thanks

maatthew:
after googling I noticed that it's for serial print on Atmel studio.
but I have some difficulties to view the output...

I would really appreciate it if some one help me out.

I don't know what sort of help you are looking for.

As far as I can see you could replace it all with Serial.println("RDY");

...R

thanks for quick response.

I am looking for the output for the previous code.

due to this part:

void StringPgm(const char * str)

does it have anything to do with characters of "RDY"?

No

Robin2:
I don't know what sort of help you are looking for.

As far as I can see you could replace it all with Serial.println("RDY") Serial.println(F("RDY"));

...R

septillion:
No

Thanks...

Could you tell me what is the output, please?

See reply #4