Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Stephan Gatzka c4c1d92cee drivers: gpio: Use BIT(n) macro to define GPIO constants 1 month ago
..
src drivers: gpio: Use BIT(n) macro to define GPIO constants 1 month ago
CMakeLists.txt
README.rst
prj.conf
sample.yaml

README.rst

.. zephyr:code-sample:: lcd-hd44780
:name: HD44780 LCD controller
:relevant-api: gpio_interface

Control an HD44780-based LCD display using GPIO pins.

Overview
********
Display text strings on parallel interfacing HD44780 based
generic LCD controller using GPIO pins to interface with
Arduino Due (SAM3).

Building and Running
********************

This project can be built and executed on as follows:

.. zephyr-app-commands::
:zephyr-app: samples/drivers/lcd_hd44780
:host-os: unix
:board: arduino_due
:goals: flash
:compact:

Sample Output
=============

.. code-block:: console

LCD Init
Page 1: message
Page 2: message
Page 3: message

Display output
==============

.. code-block:: console

********************
Arduino Due
yalpsiD DCL 4x02
********************

.. code-block:: console

-------------------
Zephyr Rocks!
My super RTOS
-------------------

.. code-block:: console

--------------------
--------HOME--------
I am home!