luma.lcd
luma.lcd copied to clipboard
Question: HD44780 Cursor Show/Hide and Line/Blink
Is there a way to show/hide the cursor and toggle the line/blink style on an HD44780 using this library?
Type of Raspberry Pi
I'm using RPi 3B+ and RPi 4
Linux Kernel version
Raspberry Pi OS (bookworm)
6.1.0-rpi4-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.54-1+rpt2 (2023-10-05) aarch64 GNU/Linux
Expected Behaviour
I'm imagining some additional properties for the hd44780 class that could be used to set the cursor style and position:
device.cursor = 'blink' ## options: 'hide', 'line', 'blink'
device.cursor_pos = 5, 1 ## column, row tuple