A vietnamese charset driver for LCD 1602, 1604
- Display the string within specifying its starting position
import lcddriver
from time import *
lcd = lcddriver.lcd()
self.lcd.lcd_display_string_pos("Máy phân loại", 1, 0)
self.lcd.lcd_display_string_pos("rác hoạt động", 2, 1)- Display the string without specifying its starting position
import lcddriver
from time import *
lcd = lcddriver.lcd()
self.lcd.lcd_display_string("Máy Đang Bảo Trì!", 1)
self.lcd.lcd_display_string("Xin thử lại sau", 2)Display the string
| Parameter | Type | Min | Max | Description |
|---|---|---|---|---|
| string | string | - | - | String want to display |
| line | number | 1 | 4 | Which line want to display |
Display the string without specifying its starting position
| Parameter | Type | Min | Max | Description |
|---|---|---|---|---|
| string | string | - | - | String want to display |
| line | number | 1 | 4 | Which line want to display |
| pos | number | 0 | - | Starting position for displaying the string |
Clear all string are displaying on the LCD
Turn off or turn on backlight
| Parameter | Type | Min | Max | Description |
|---|---|---|---|---|
| state | number | 0 | 1 | Turn off (0) or turn on (1) backlight |
MIT

