Greetings,
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 in
http://www.societyofrobots.com/microcontroller_uart_50_robot.shtmlrunning.
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'
and more
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!
Kirk