• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..22-Aug-2025-

src/22-Aug-2025-

CMakeLists.txt A D22-Aug-2025236 96

README.rst A D22-Aug-20251.1 KiB5741

prj.conf A D22-Aug-202515 21

sample.yaml A D22-Aug-2025211 98

README.rst

1.. zephyr:code-sample:: lcd-hd44780
2   :name: HD44780 LCD controller
3   :relevant-api: gpio_interface
4
5   Control an HD44780-based LCD display using GPIO pins.
6
7Overview
8********
9Display text strings on parallel interfacing HD44780 based
10generic LCD controller using GPIO pins to interface with
11Arduino Due (SAM3).
12
13Building and Running
14********************
15
16This project can be built and executed on as follows:
17
18.. zephyr-app-commands::
19   :zephyr-app: samples/drivers/lcd_hd44780
20   :host-os: unix
21   :board: arduino_due
22   :goals: flash
23   :compact:
24
25Sample Output
26=============
27
28.. code-block:: console
29
30    LCD Init
31    Page 1: message
32    Page 2: message
33    Page 3: message
34
35Display output
36==============
37
38.. code-block:: console
39
40    ********************
41    Arduino Due
42    yalpsiD DCL 4x02
43    ********************
44
45.. code-block:: console
46
47    -------------------
48    Zephyr Rocks!
49    My super RTOS
50    -------------------
51
52.. code-block:: console
53
54    --------------------
55    --------HOME--------
56    I am home!
57