- posted
17 years ago
I2C and usart together on ATMega8
Loading thread data ...
- Vote on answer
- posted
17 years ago
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:
>