Fork 0
I237 Riistvaralähedane programmerimine 2016
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.
Go to file
Arti Zirk 0c1783a47c Fix another memory leak on malloc fail 6 years ago
bin Init repository and add structure 7 years ago
doc Add wiring Arduino Mega RFID-RC522 wiring schema 6 years ago
lib Fixes for new gcc 6 years ago
src Fix another memory leak on malloc fail 6 years ago
tooling Change formating script 7 years ago
.gitignore Add astyle code formatter usage script and change .gitignore to exclude astyle preserved files 7 years ago
LICENSE Add license 6 years ago
Makefile Error out from make install if ARDUINO env var is unset 6 years ago
README.md Update program name in readme 6 years ago


I237 Door Access program

This here is my repository for hardware programming course at Estonian IT College that is based around a Arduino Mega 2560.

This code us usualy updated once every two weeks when a new excersice is put up by Silver Kits.

How to install

Currently to test this code you have to clone the repository

git clone https://git.wut.ee/arti/i237.git hardware
cd hardware

And export a enviroment variable that points to a Arduino Mega board. The real path will depend on the OS and Computer that you are using. For me it is usualy /dev/ttyACM0.

export ARDUINO=/dev/ttyACM0

After that you can make the project.

make clean
make install

You can also chekcout previous labs using git checkout <lab name>. For example

git checkout lab02

Don't forget to make clean after each checkout!


Copyright (C) 2016 Arti Zirk <arti.zirk@gmail.com>

This file is part of I237 Door Access program.

I237 Door Access is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

I237 Door Access is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with I237 Door Access.  If not, see <http://www.gnu.org/licenses/>.