1
0
Fork 0
i237/README.md

42 lines
930 B
Markdown
Raw Normal View History

2016-10-02 21:23:35 +03:00
# I237 Hardware Programming
This here is my repository for hardware programming course at
Estonian IT College that is based around a
[Arduino Mega 2560](https://www.arduino.cc/en/Main/ArduinoBoardMega2560).
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
```bash
git clone https://git.wut.ee/arti/i237.git hardware
cd hardware
```
2016-10-02 21:23:35 +03:00
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`.
```bash
export ARDUINO=/dev/ttyACM0
```
2016-10-02 21:23:35 +03:00
After that you can `make` the project.
```bash
make clean
make
make install
```bash
2016-10-02 21:23:35 +03:00
You can also chekcout previous labs using `git checkout <lab name>`. For example
```bash
git checkout lab02
```
2016-10-02 21:23:35 +03:00
Don't forget to `make clean` after each checkout!