luma.lcd icon indicating copy to clipboard operation
luma.lcd copied to clipboard

Question: HD44780 Cursor Show/Hide and Line/Blink

Open albedozero opened this issue 1 year ago • 0 comments

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

albedozero avatar Nov 02 '23 17:11 albedozero