I am trying to lit up LEDs using RS-232 for ATmega 8.
I have attached the referred schematics and code.
As per my understanding by reading the datasheet, before transmitting any data, START bit has to be sent and after finishing the routine, STOP bit has to be sent.
But, i have no idea what value has to be sent and on which port and Do i also need to set the respective baudrate ?
Sorry I didn't get your question, what do you want actually?
If you want to control leds using PC then you have to write uart code, bu I didn't find any uart related code in your file....
I am trying to lit up LEDs using RS-232 for ATmega 8.
I have attached the referred schematics and code.
As per my understanding by reading the datasheet, before transmitting any data, START bit has to be sent and after finishing the routine, STOP bit has to be sent.
But, i have no idea what value has to be sent and on which port and Do i also need to set the respective baudrate ?