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 e26d7e0 commit 8d36742
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# RPiRobot Guidelines
## Getting Started
Get Source Code
Get source code
```
git clone https://github.com/alkaza/RPiRobot.git
```
Update reposidory
Update repository
```
git pull
```
Expand Down Expand Up @@ -82,21 +82,20 @@ int main(void)
- **robot.h** is a static library for RPiRobot
### Setup function
- Must include to run once
- Allows to terminate the program with Ctrl-C
- Initializes WiringPi, ultrasonic sensor and dc motor driver and
```
setup ();
```
- Must include to run once
- Allows to terminate the program with Ctrl-C
- Initializes WiringPi, ultrasonic sensor and dc motor driver and
### Infinite loop
Put your main code here to run repeatedly
```
while (1) {
/* Your code */
}
```
- Put your main code here to run repeatedly
### Calculate distance detected by ultrasonic sensor
```
Expand Down

0 comments on commit 8d36742

Please sign in to comment.