You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
316 B
C
22 lines
316 B
C
#include <atmel_start.h>
|
|
#include "p_usart.h"
|
|
#include "p_i2c.h"
|
|
|
|
static void project_init()
|
|
{
|
|
p_usart_init();
|
|
p_i2c_init();
|
|
|
|
}
|
|
int main(void)
|
|
{
|
|
/* Initializes MCU, drivers and middleware */
|
|
atmel_start_init();
|
|
project_init();
|
|
PDEBUG("Hi there\n");
|
|
|
|
/* Replace with your application code */
|
|
while (1) {
|
|
}
|
|
}
|