mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-07 03:02:31 +00:00
Update the files which contain no license information with the 'Apache-2.0' SPDX license identifier. Many source files in the tree are missing licensing information, which makes it harder for compliance tools to determine the correct license. By default all files without license information are under the default license of Zephyr, which is Apache version 2. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
nucleo_l476rg.overlay | ||
prj.conf | ||
README.rst | ||
sample.yaml |
.. _ili9340-sample: ILI9340 Display driver ###################### Overview ******** Every half-second, this sample application draws a color-filled rectangle in a corner of the LCD display. The rectangle fill color cycles through red, green, and blue on each update. Requirements ************ - `ST NUCLEO-L476RG development board`_ - `Adafruit 2.2 inch TFT Display`_ Wiring ****** The NUCLEO-L476RG should be connected as follows to the Adafruit TFT display. +------------------+-----------------+----------------+ | | NUCLEO-L476RG | | NUCLEO-L476RG | | Adafruit TFT | | | Arduino Header | | Pin | | Pin | +==================+=================+================+ | D3 | PB3 | SCK | +------------------+-----------------+----------------+ | D7 | PA8 | D/C | +------------------+-----------------+----------------+ | D8 | PA9 | RST | +------------------+-----------------+----------------+ | D11 | PA7 | MOSI | +------------------+-----------------+----------------+ | D12 | PA6 | MISO | +------------------+-----------------+----------------+ | A2 | PA4 | NSS | +------------------+-----------------+----------------+ Building and Running ******************** Build this sample application with the following commands: .. zephyr-app-commands:: :zephyr-app: samples/display/ili9340 :board: nucleo_l476rg :goals: build :compact: See :ref:`nucleo_l476rg_board` on how to flash the build. References ********** - `ILI9340 datasheet`_ .. _Adafruit 2.2 inch TFT Display: https://www.adafruit.com/product/1480 .. _ST NUCLEO-L476RG development board: http://www.st.com/en/evaluation-tools/nucleo-l476rg.html .. _ILI9340 datasheet: https://cdn-shop.adafruit.com/datasheets/ILI9340.pdf