Если кто знает как решить это на ассемблере для AVR - подскажите, или дайте ссылку.
Спасибо.
Сделай доброе дело - ткни носом.Flasher писал(а):ты издеваешься? или лень ЧИТАТЬ даташит?
Как проинициализировать UART, я думаю в общих чертах знаете. Если нет, то вам надо в обучалку.19.10.3 UCSRB – USART Control and Status Register B
• Bit 2 – UCSZ2: Character Size
The UCSZ2 bits combined with the UCSZ1:0 bit in UCSRC sets the number of data bits (Character
Size) in a frame the Receiver and Transmitter use.
• Bit 1 – RXB8: Receive Data Bit 8
RXB8 is the ninth data bit of the received character when operating with serial frames with nine
data bits. Must be read before reading the low bits from UDR.
• Bit 0 – TXB8: Transmit Data Bit 8
TXB8 is the ninth data bit in the character to be transmitted when operating with serial frames
with nine data bits. Must be written before writing the low bits to UDR.