Commit 195230b2 authored by Matěj Kopecký's avatar Matěj Kopecký
Browse files

Update user_manual.md

parent e6a1cdc1
......@@ -2,12 +2,13 @@
User manual for the game GRAFO, made as a semestral project for computer architectures in the summer semester of 2020.
The code is written without any C library. Just plain C code.
Made by: Matej Kopecky and Vit Ramba
# Installation
# Installatio
1. Download the code:
2. Install QTMips from this site: https://github.com/cvut/QtMips/releases/
3. Set up your QTMips to see LCD Display, terminal with input, LED’s and knobs like the picture shows.
![Alt-Text](qtmips_setup.png)
![Alt-Text](qtmips_setup.png)
4. Build the game using included Makefile.
5. In your folder now should be ‘main’ file.
......@@ -16,18 +17,26 @@ Made by: Matej Kopecky and Vit Ramba
# Controls
After you start the code, wait around half a minute before LCD loades. Keep an eye on the terminal. There will instructions for you. After the LCD loads, you can start pressing some buttons to set color of your drawing.
# Color options – press button:
1. ‘r’ for color red
2. ‘g’ for color green
3. ‘b’ for color blue
4. ‘y’ for color yellow
5. ‘w’ for color white
* Press ‘p’ for clear of draw field.
* Press ‘q’ to end the game.
*
After you pick color, you will start drawing in the draw screen. Both LED’s will show you the chosen color.
* To change color when you start drawing, hold the button for a moment for the code to pick it up.
*
# Terminal
Terminal will show you every now and then coordinates of the cursor.
To change color when you start drawing, hold the button for a moment for the code to pick it up.
# Drawing
* Use red and green knob to move the cursor
The drawing is controlled by red and green knob. Red knob value is horizontal coordinate of the cursor. Green knob value is vertical coordinate of the cursor. In the moment when you change some of the two values, the cursor will start to move for that new coordinate that you just set. Line of the drawing will be continuous and whenever you change the values, it will move to new coordinate.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment