Started following some tutorial on att85 usi. Downloaded example code from make avr book.
This commit is contained in:
22
Make AVR Examples/setupProject/main.c
Normal file
22
Make AVR Examples/setupProject/main.c
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
// -------- Global Variables --------- //
|
||||
|
||||
// -------- Functions --------- //
|
||||
|
||||
int main(void) {
|
||||
// -------- Inits --------- //
|
||||
|
||||
// clock_prescale_set(clock_div_1); /* CPU Clock: 8 MHz */
|
||||
initUSART();
|
||||
printString("OK");
|
||||
|
||||
// ------ Event loop ------ //
|
||||
while (1) {
|
||||
|
||||
|
||||
|
||||
} /* End event loop */
|
||||
return (0); /* This line is never reached */
|
||||
}
|
||||
Reference in New Issue
Block a user