I2C and usart together on ATMega8

Loading thread data ...

Hello,

I am not sure this will work for you or not. Remove the "uart.h" in your source file and use the 0 instead of UART0 for the parameter indicating which uart to use. This parameter is needed for uart2.c (which is included as an included file in your source). The uart2.c or uart2.h API supports 2 uarts on the ATmega that has 2 UARTs and therefore the library expects additional parameter for specifying which UART.

Regards,

-Pandit

Gootes wrote:

>
Reply to
ppanbura

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.