From df553faefb7bc8f67a59982ec0799ca3013df38f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Sun, 7 Feb 2016 12:21:01 +0100 Subject: [PATCH] readme again --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3558310..b35ff7b 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,12 @@ The provided `main.c` is a good starting point - it contains some simple demo co You can compile it with `make` and flash with `make flash`. -**Before you can flash,** check that the `avrdude` options in the file correct for your system - especially -the device (`/dev/ttyUSB0`). It can differ if you're on Mac or Windows (`/dev/cu.xxx`, resp. `COMx`). +### adjusting the Makefile + +**Before you can flash,** check that the `avrdude` options in the file are correct for your system +- especially the device (`/dev/ttyUSB0`). It can differ if you're on Mac or Windows (`/dev/cu.xxx`, resp. `COMx`). + +You can look what the Arduino IDE is using - it's running avrdude internally as well. If you *add a new C file* to the project, add an entry for it's `.o` (object file, created by the compiler before linking) to the `OBJS` list in the Makefile.