Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bachtiarpanjaitan authored Jan 19, 2023
1 parent 06cbf3e commit 461fc38
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Bataxdevino btx;
- Then use it

**Available Method**
1. Show text on LCD screen 16*2
Show text on LCD screen 16*2

```
//import Library LiquidCrystal first
Expand All @@ -21,7 +21,7 @@ Bataxdevino btx;
btx.lcdPrint(lcd,0,0,"your text here",true);
...
```
2. Read LCD Button 16*2
Read LCD Button 16*2

```
//first initialize LCD
Expand All @@ -30,11 +30,10 @@ Bataxdevino btx;
btx.readLcdButton(buttonPin);
```

3. Convert Int into Char
For special case, sometime you need convert an integer value into char and then you can use it.

```
//define variable char first
char yourChar[3];
yourChar = btx.intToChar(yourIntegerValue)
```

0 comments on commit 461fc38

Please sign in to comment.