commit 0dbbb133b1fd01862e1402117956c1ac329896b5
parent ce1f6db630d608bdf7f0688c839f8b5728894931
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date: Sat, 27 Sep 2025 23:59:12 -0300
added `README.md`
Diffstat:
| A | README.md | | | 32 | ++++++++++++++++++++++++++++++++ |
1 file changed, 32 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -0,0 +1,32 @@
+# Arduino Bare Metal Task Scheduler
+
+This is a simple program which implements a task scheduler. What this does is
+basically execute a series of task attached to the scheduler after the specified
+interval in ms, in the example two leds are blinked at different rates.
+
+## Dependencies
+
+* `avr-gcc` and `avr-libc` to compile the code
+* `avrdude` for uploading the program to the microcontroller
+
+## Compile and upload to the board
+
+Having the dependencies installed, compile the code running `make` or:
+
+```console
+$ make compile
+```
+
+Then with the board connected to the computer, check the port with:
+
+```console
+$ ls /dev/tty*
+```
+
+Often appears as `/dev/ttyUSB*` or `/dev/ttyACM*`, by default `/dev/ttyUSB0` is
+used, to override this execute make asigning the corret port to the `PORT`
+shell variable, for example:
+
+```console
+$ PORT=/dev/ttyUSB1 make upload
+```