Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

Commit

Permalink
README.md updated with code highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
salvamr committed Oct 2, 2019
1 parent bc1fe0b commit 39abd77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
@@ -1,6 +1,6 @@
## Usage
* Turning off the scooter: 55 AA 03 20 03 79 01 5F FF
```
```kotlin
val turnOffScooter = NbMessage()
.setDirection(NbCommands.MASTER_TO_M365)
.setReadOrWrite(NbCommands.WRITE)
Expand All @@ -10,7 +10,7 @@ val turnOffScooter = NbMessage()
````
* Changing password: 55 AA 08 20 03 79 XX XX XX XX XX XX 23 FE
* Password must be length 6, only numbers and ascii charset
```
```kotlin
val changePassword = NbMessage()
.setDirection(NbCommands.MASTER_TO_M365)
.setReadOrWrite(NbCommands.WRITE)
Expand All @@ -19,7 +19,7 @@ val changePassword = NbMessage()
.build()
```
* Getting the controller version: 55 AA 03 20 01 1A 02 BF FF
```
```kotlin
val ctrlVersion = NbMessage()
.setDirection(NbCommands.MASTER_TO_M365)
.setReadOrWrite(NbCommands.READ)
Expand Down

0 comments on commit 39abd77

Please sign in to comment.