I am trying to run the UART on an ATmega8 with a 16MHz crystal. (arduino board) using WINAVR.
so I am attempting to get the example inhttp://www.societyofrobots.com/microcontroller_uart_50_robot.shtml
I am getting the following errors. (which I abbreviate)
My Documents\AVR\LMR-UART2/main.c:79: undefined reference to `uartInit'
My Documents\AVR\LMR-UART2/main.c:80: undefined reference to `uartSetBaudRate'
My Documents\AVR\LMR-UART2/main.c:81: undefined reference to `uartSendByte'
I have included the files as in the tutorial. I even tried miss spelling a file name. This give a different (file not found) error message.
The UART will talk to the terminal in the Arduino environment.
I can make the UART work one character at a time by loading a character in the UDR register.
So it seems that this is some deficiency in my understanding of AVRlib and the compiler messages.
Thanks for any help!