Skip to content

Commit

Permalink
Merge pull request #14 from barnhill/update-readme
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
barnhill committed Jun 16, 2024
2 parents 39f9bdb + 16b1405 commit 13299c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ This project offers a developer friendly interface to communicate with ELM 327 O

Add Dependency:
```Gradle
implementation 'com.pnuema.android:obd:1.4.4'
implementation 'com.pnuema.android:obd:1.5.0'
```

Code:
```
//Request MODE 1, PID 0C - RPM
val pid = PID(ObdModes.MODE_01, "0C")
val pid = PIDUtils.getPid(ObdModes.MODE_01, "OC")
val command = OBDCommand(pid)
command.run(bluetoothSocket.inputStream, bluetoothSocket.outputStream)
Expand Down

0 comments on commit 13299c5

Please sign in to comment.