add notice about lcd source code

This commit is contained in:
Sebastian Hugentobler 2024-06-28 18:22:01 +02:00
parent f8894e9529
commit e2c5b7400f
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -1,3 +1,8 @@
//! Write to a 16x2 LCD.
//!
//! Code mostly translated from here (an excellent project):
//! https://github.com/Pi4J/pi4j-example-components/blob/main/src/main/java/com/pi4j/catalog/components/LcdDisplay.java
use embassy_nrf::interrupt::Priority; use embassy_nrf::interrupt::Priority;
use embassy_nrf::interrupt::{self, InterruptExt}; use embassy_nrf::interrupt::{self, InterruptExt};
use embassy_nrf::peripherals::{P0_03, P0_04, TWISPI0}; use embassy_nrf::peripherals::{P0_03, P0_04, TWISPI0};