From aa4e954f760253f560cbd91b43883b7dbcea4b8f Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Sun, 2 Oct 2016 21:27:32 +0300 Subject: [PATCH] Add language to code snippets in readme --- README.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1802def..bf59046 100644 --- a/README.md +++ b/README.md @@ -11,23 +11,31 @@ by Silver Kits. Currently to test this code you have to clone the repository - git clone https://git.wut.ee/arti/i237.git hardware - cd hardware +```bash +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 +```bash +export ARDUINO=/dev/ttyACM0 +``` After that you can `make` the project. - make clean - make - make install +```bash +make clean +make +make install +```bash You can also chekcout previous labs using `git checkout `. For example - git checkout lab02 +```bash +git checkout lab02 +``` Don't forget to `make clean` after each checkout!