Greg Lorincz
Greg Lorincz
Thank you! Do I need to add USART.h as well? I did this: `avr-gcc -g -Os -DF_CPU=16000000UL -mmcu=atmega328p -c serial.c USART.c USART.h` then `avr-gcc -g -mmcu=atmega328p -o serial.elf serial.o` Do...
Scusi, here's the main file: ``` #include #include #include "pinDefines.h" #include "USART.h" int main(void){ char serialCharacter; initUsart(); printString("test\r\n"); while(1){ serialCharacter=recieveByte(); transmitByte(serialCharacter); } return(0); } ``` USART.h, USART.c and pinDefines.h are...
Thank you for you reply, Elliot! I'm loving the book, thank you!!! > If I were re-doing it, I would consider simply copying the pinDefines.h and the USART.c and .h...
I've been trying to compile this project for days with no success. I cannot progress in the book if I can't compile these files. I've been trying to find information...
How embarrassing, thank you!