Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alkaza authored Nov 30, 2017
1 parent 5f265eb commit 51cd0b9
Showing 1 changed file with 38 additions and 4 deletions.
42 changes: 38 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,51 @@ Get Source Code
```
git clone https://github.com/alkaza/RPiRobot.git
```
Go to the Code Directory
Go to library directory
```
cd /home/pi/CityScience/src/lib
```
Compile static library
```
make all
```
Cleanup static library (if changes were made to static library)
```
make clean
```
Go to source directory
```
cd /home/pi/CityScience/src
```
Compile the program
Copy static library to working directory
```
sh /home/pi/CityScience/src/scripts/cplib.sh
examples
```
Remove static library from working directory (if changes were made to static library)
```
sh /home/pi/CityScience/src/scripts/rmlib.sh
examples
```
Go to working directory
```
cd /home/pi/CityScience/src/examples
```
Compile all programs
```
make all
```
Compile one program
```
make sensor
```
Cleanup program (if changes were made to the program)
```
make sample
rm sensor
```
Run the program
```
sudo ./sample
sudo ./sensor
```
Terminate the program
```
Expand Down

0 comments on commit 51cd0b9

Please sign in to comment.