aboutsummaryrefslogtreecommitdiff

Description

This is the "famous" blinking led code for ARMEN operating system.

It's includes two threads, one for each led, with a different pulse.

Download source

$ mkdir -p src/armen
$ cd src/armen
$ git clone https://www.mattik.org/git/blink

Change target

By default, target is the ARDUINO UNO board. To change to MEGA board, you must replace 'atmega328p' by 'atmega2560' in the file 'options.mak'.

Build the code

$ cd blink
$ make

Flash the MCU

$ make install

Resources needed

The ARMEN tiny operating system.