From e2c5b7400fd11c35a4c5626b446c2f048111f462 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 28 Jun 2024 18:22:01 +0200 Subject: [PATCH] add notice about lcd source code --- display/src/lcd.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/display/src/lcd.rs b/display/src/lcd.rs index 00af244..5256c61 100644 --- a/display/src/lcd.rs +++ b/display/src/lcd.rs @@ -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::{self, InterruptExt}; use embassy_nrf::peripherals::{P0_03, P0_04, TWISPI0};