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