Moved main.cpp to test folder
This commit is contained in:
parent
bcbb320289
commit
193e5ae0ff
2
makefile
2
makefile
|
@ -8,7 +8,7 @@ CC=avr-g++
|
||||||
OBJCOPY=avr-objcopy
|
OBJCOPY=avr-objcopy
|
||||||
CFLAGS=-Wall -g -mmcu=${MCU} -DF_CPU=${F_CPU} -I.
|
CFLAGS=-Wall -g -mmcu=${MCU} -DF_CPU=${F_CPU} -I.
|
||||||
TARGET=main
|
TARGET=main
|
||||||
SRCS=src/*.cpp
|
SRCS=src/*.cpp test/main.cpp
|
||||||
|
|
||||||
default: build flash
|
default: build flash
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define F_CPU 8000000UL
|
#define F_CPU 8000000UL
|
||||||
#include<avr/io.h>
|
#include<avr/io.h>
|
||||||
#include <util/delay.h>
|
#include <util/delay.h>
|
||||||
#include "servo.h"
|
#include "../src/servo.h"
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
Loading…
Reference in New Issue